Interface AdjustableLinearSolver_DDRM

All Superinterfaces:
LinearSolver<DMatrixRMaj,DMatrixRMaj>, LinearSolverDense<DMatrixRMaj>
All Known Implementing Classes:
AdjLinearSolverQr_DDRM

public interface AdjustableLinearSolver_DDRM extends LinearSolverDense<DMatrixRMaj>
In many situations solutions to linear systems that share many of the same data points are needed. This can happen when solving using the most recent data or when rejecting outliers. In these situations it is possible to solve these related systems much faster than solving the entire data set again.
See Also:
  • Method Details

    • addRowToA

      boolean addRowToA(double[] A_row, int rowIndex)
      Adds a row to A. This has the same effect as creating a new A and calling LinearSolver.setA(S).
      Parameters:
      A_row - The row in A.
      rowIndex - Where the row appears in A.
      Returns:
      if it succeeded or not.
    • removeRowFromA

      boolean removeRowFromA(int index)
      Removes a row from A. This has the same effect as creating a new A and calling LinearSolver.setA(S).
      Parameters:
      index - which row is removed from A.
      Returns:
      If it succeeded or not.