Package org.ejml.dense.row.linsol
Class LinearSolverAbstract_FDRM
java.lang.Object
org.ejml.dense.row.linsol.LinearSolverAbstract_FDRM
- All Implemented Interfaces:
LinearSolver<FMatrixRMaj,
,FMatrixRMaj> LinearSolverDense<FMatrixRMaj>
- Direct Known Subclasses:
BaseLinearSolverQrp_FDRM
,LinearSolverChol_FDRM
,LinearSolverCholLDL_FDRM
,LinearSolverLuBase_FDRM
,LinearSolverQr_FDRM
,LinearSolverQrHouse_FDRM
,LinearSolverQrHouseCol_FDRM
,LinearSolverQrHouseTran_FDRM
@Generated("org.ejml.dense.row.linsol.LinearSolverAbstract_DDRM")
public abstract class LinearSolverAbstract_FDRM
extends Object
implements LinearSolverDense<FMatrixRMaj>
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(FMatrixRMaj)
inside of its LinearSolver.setA(S)
function.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
_setA
(FMatrixRMaj A) @Nullable FMatrixRMaj
getA()
void
invert
(FMatrixRMaj 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
-
-
Constructor Details
-
LinearSolverAbstract_FDRM
public LinearSolverAbstract_FDRM()
-
-
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<FMatrixRMaj>
- Parameters:
A_inv
- Where the inverted matrix saved. Modified.
-