Package org.ejml.dense.row.linsol.chol
Class LinearSolverChol_DDRB
java.lang.Object
org.ejml.dense.row.linsol.LinearSolver_DDRB_to_DDRM
org.ejml.dense.row.linsol.chol.LinearSolverChol_DDRB
- All Implemented Interfaces:
org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.DMatrixRMaj,org.ejml.data.DMatrixRMaj>,org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj>
public class LinearSolverChol_DDRB extends LinearSolver_DDRB_to_DDRM
A wrapper around
CholeskyDecomposition_F64(DMatrixRBlock) that allows
it to be easily used with DMatrixRMaj.-
Field Summary
Fields inherited from class org.ejml.dense.row.linsol.LinearSolver_DDRB_to_DDRM
alg, blockA, blockB, blockX -
Constructor Summary
Constructors Constructor Description LinearSolverChol_DDRB()LinearSolverChol_DDRB(org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRBlock> alg) -
Method Summary
Modifier and Type Method Description voidsolve(org.ejml.data.DMatrixRMaj B, org.ejml.data.DMatrixRMaj X)Only converts the B matrix and passes that onto solve.Methods inherited from class org.ejml.dense.row.linsol.LinearSolver_DDRB_to_DDRM
getDecomposition, invert, modifiesA, modifiesB, quality, setA
-
Constructor Details
-
LinearSolverChol_DDRB
public LinearSolverChol_DDRB() -
LinearSolverChol_DDRB
public LinearSolverChol_DDRB(org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRBlock> alg)
-
-
Method Details
-
solve
public void solve(org.ejml.data.DMatrixRMaj B, org.ejml.data.DMatrixRMaj X)Only converts the B matrix and passes that onto solve. Te result is then copied into the input 'X' matrix.- Specified by:
solvein interfaceorg.ejml.interfaces.linsol.LinearSolver<org.ejml.data.DMatrixRMaj,org.ejml.data.DMatrixRMaj>- Overrides:
solvein classLinearSolver_DDRB_to_DDRM- Parameters:
B- A matrix ℜ m × p. Not modified.X- A matrix ℜ n × p, where the solution is written to. Modified.
-