org.ejml.alg.dense.linsol
Interface AdjustableLinearSolver

All Superinterfaces:
LinearSolver<DenseMatrix64F>
All Known Implementing Classes:
AdjLinearSolverQr

public interface AdjustableLinearSolver
extends LinearSolver<DenseMatrix64F>

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.

Author:
Peter Abeles
See Also:
LinearSolver

Method Summary
 boolean addRowToA(double[] A_row, int rowIndex)
          Adds a row to A.
 boolean removeRowFromA(int index)
          Removes a row from A.
 
Methods inherited from interface org.ejml.alg.dense.linsol.LinearSolver
invert, modifiesA, modifiesB, quality, setA, solve
 

Method Detail

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(T).

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(T).

Parameters:
index - which row is removed from A.
Returns:
If it succeeded or not.


Copyright © 2012. All Rights Reserved.