public abstract class LinearSolverAbstract extends java.lang.Object implements LinearSolver<DenseMatrix64F>
An abstract class that provides some common functionality and a default implementation of invert that uses the solve function of the child class.
The extending class must explicity call _setA(org.ejml.data.DenseMatrix64F)
inside of its LinearSolver.setA(T) function.
| Modifier and Type | Field and Description |
|---|---|
protected DenseMatrix64F |
A |
protected int |
numCols |
protected int |
numRows |
| Constructor and Description |
|---|
LinearSolverAbstract() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_setA(DenseMatrix64F A) |
DenseMatrix64F |
getA() |
void |
invert(DenseMatrix64F A_inv)
Computes the inverse of of the 'A' matrix passed into
LinearSolver.setA(org.ejml.data.Matrix)
and writes the results to the provided matrix. |
protected DenseMatrix64F A
protected int numRows
protected int numCols
public DenseMatrix64F getA()
protected void _setA(DenseMatrix64F A)
public void invert(DenseMatrix64F A_inv)
LinearSolverLinearSolver.setA(org.ejml.data.Matrix)
and writes the results to the provided matrix. If 'A_inv' needs to be different from 'A'
is implementation dependent.invert in interface LinearSolver<DenseMatrix64F>A_inv - Where the inverted matrix saved. Modified.