Package org.ejml.dense.row.linsol
Class LinearSolverAbstract_CDRM
java.lang.Object
org.ejml.dense.row.linsol.LinearSolverAbstract_CDRM
- All Implemented Interfaces:
LinearSolver<CMatrixRMaj,
,CMatrixRMaj> LinearSolverDense<CMatrixRMaj>
- Direct Known Subclasses:
LinearSolverChol_CDRM
,LinearSolverLuBase_CDRM
,LinearSolverQr_CDRM
,LinearSolverQrHouse_CDRM
,LinearSolverQrHouseCol_CDRM
,LinearSolverQrHouseTran_CDRM
@Generated("org.ejml.dense.row.linsol.LinearSolverAbstract_ZDRM")
public abstract class LinearSolverAbstract_CDRM
extends Object
implements LinearSolverDense<CMatrixRMaj>
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(CMatrixRMaj)
inside of its LinearSolver.setA(S)
function.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
_setA
(CMatrixRMaj A) getA()
void
invert
(CMatrixRMaj 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_CDRM
public LinearSolverAbstract_CDRM()
-
-
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<CMatrixRMaj>
- Parameters:
A_inv
- Where the inverted matrix saved. Modified.
-