org.ejml.alg.dense.linsol
Class LinearSolverAbstract
java.lang.Object
org.ejml.alg.dense.linsol.LinearSolverAbstract
- All Implemented Interfaces:
- LinearSolver<DenseMatrix64F>
- Direct Known Subclasses:
- BaseLinearSolverQrp, GaussJordan, GaussJordanNoPivot, LinearSolverChol, LinearSolverCholLDL, LinearSolverLuBase, LinearSolverQr, LinearSolverQrHouse, LinearSolverQrHouseCol, LinearSolverQrHouseTran
public abstract class LinearSolverAbstract
- extends 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.
- Author:
- Peter Abeles
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
A
protected DenseMatrix64F A
numRows
protected int numRows
numCols
protected int numCols
LinearSolverAbstract
public LinearSolverAbstract()
getA
public DenseMatrix64F getA()
_setA
protected void _setA(DenseMatrix64F A)
invert
public void invert(DenseMatrix64F A_inv)
- Description copied from interface:
LinearSolver
- Computes the inverse of of the 'A' matrix passed into
LinearSolver.setA(org.ejml.data.Matrix64F)
and writes the results to the provided matrix. If 'A_inv' needs to be different from 'A'
is implementation dependent.
- Specified by:
invert in interface LinearSolver<DenseMatrix64F>
- Parameters:
A_inv - Where the inverted matrix saved. Modified.
Copyright © 2012. All Rights Reserved.