Package org.ejml.dense.row.linsol
Class LinearSolverAbstract_ZDRM
java.lang.Object
org.ejml.dense.row.linsol.LinearSolverAbstract_ZDRM
- All Implemented Interfaces:
LinearSolver<ZMatrixRMaj,
,ZMatrixRMaj> LinearSolverDense<ZMatrixRMaj>
- Direct Known Subclasses:
LinearSolverChol_ZDRM
,LinearSolverLuBase_ZDRM
,LinearSolverQr_ZDRM
,LinearSolverQrHouse_ZDRM
,LinearSolverQrHouseCol_ZDRM
,LinearSolverQrHouseTran_ZDRM
public abstract class LinearSolverAbstract_ZDRM
extends Object
implements LinearSolverDense<ZMatrixRMaj>
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(ZMatrixRMaj)
inside of its LinearSolver.setA(S)
function.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
_setA
(ZMatrixRMaj A) getA()
void
invert
(ZMatrixRMaj A_inv) Computes the inverse of of the 'A' matrix passed intoLinearSolver.setA(Matrix)
and writes the results to the provided matrix.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ejml.interfaces.linsol.LinearSolver
getDecomposition, modifiesA, modifiesB, quality, setA, solve
-
Field Details
-
A
-
numRows
protected int numRows -
numCols
protected int numCols -
stride
protected int stride
-
-
Constructor Details
-
LinearSolverAbstract_ZDRM
public LinearSolverAbstract_ZDRM()
-
-
Method Details
-
getA
-
_setA
-
invert
Description copied from interface:LinearSolverDense
Computes the inverse of of the 'A' matrix passed intoLinearSolver.setA(Matrix)
and writes the results to the provided matrix. If 'A_inv' needs to be different from 'A' is implementation dependent.- Specified by:
invert
in interfaceLinearSolverDense<ZMatrixRMaj>
- Parameters:
A_inv
- Where the inverted matrix saved. Modified.
-