Package org.ejml.dense.row.linsol.chol
Class LinearSolverCholLDL_FDRM
java.lang.Object
org.ejml.dense.row.linsol.LinearSolverAbstract_FDRM
org.ejml.dense.row.linsol.chol.LinearSolverCholLDL_FDRM
- All Implemented Interfaces:
org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.FMatrixRMaj,,org.ejml.data.FMatrixRMaj> org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.FMatrixRMaj>
@Generated("org.ejml.dense.row.linsol.chol.LinearSolverCholLDL_DDRM")
public class LinearSolverCholLDL_FDRM
extends LinearSolverAbstract_FDRM
-
Field Summary
Fields inherited from class org.ejml.dense.row.linsol.LinearSolverAbstract_FDRM
A, numCols, numRows -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionorg.ejml.interfaces.decomposition.CholeskyLDLDecomposition_F32<org.ejml.data.FMatrixRMaj>voidinvert(org.ejml.data.FMatrixRMaj inv) Sets the matrix 'inv' equal to the inverse of the matrix that was decomposed.booleanbooleandoublequality()booleansetA(org.ejml.data.FMatrixRMaj A) voidsolve(org.ejml.data.FMatrixRMaj B, org.ejml.data.FMatrixRMaj X) Using the decomposition, finds the value of 'X' in the linear equation below:
A*x = b
where A has dimension of n by n, x and b are n by m dimension.Methods inherited from class org.ejml.dense.row.linsol.LinearSolverAbstract_FDRM
_setA, getA
-
Constructor Details
-
LinearSolverCholLDL_FDRM
-
LinearSolverCholLDL_FDRM
public LinearSolverCholLDL_FDRM()
-
-
Method Details
-
setA
public boolean setA(org.ejml.data.FMatrixRMaj A) -
quality
public double quality() -
solve
public void solve(org.ejml.data.FMatrixRMaj B, org.ejml.data.FMatrixRMaj X) Using the decomposition, finds the value of 'X' in the linear equation below:
A*x = b
where A has dimension of n by n, x and b are n by m dimension.*Note* that 'b' and 'x' can be the same matrix instance.
- Parameters:
B- A matrix that is n by m. Not modified.X- An n by m matrix where the solution is writen to. Modified.
-
invert
public void invert(org.ejml.data.FMatrixRMaj inv) Sets the matrix 'inv' equal to the inverse of the matrix that was decomposed.- Specified by:
invertin interfaceorg.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.FMatrixRMaj>- Overrides:
invertin classLinearSolverAbstract_FDRM- Parameters:
inv- Where the value of the inverse will be stored. Modified.
-
modifiesA
public boolean modifiesA() -
modifiesB
public boolean modifiesB() -
getDecomposition
public org.ejml.interfaces.decomposition.CholeskyLDLDecomposition_F32<org.ejml.data.FMatrixRMaj> getDecomposition()
-