Class CholeskyDecomposition_DDRB_to_DDRM
java.lang.Object
org.ejml.dense.row.decomposition.BaseDecomposition_DDRB_to_DDRM
org.ejml.dense.row.decomposition.chol.CholeskyDecomposition_DDRB_to_DDRM
- All Implemented Interfaces:
CholeskyDecomposition<DMatrixRMaj>
,CholeskyDecomposition_F64<DMatrixRMaj>
,DecompositionInterface<DMatrixRMaj>
public class CholeskyDecomposition_DDRB_to_DDRM
extends BaseDecomposition_DDRB_to_DDRM
implements CholeskyDecomposition_F64<DMatrixRMaj>
Wrapper around
CholeskyOuterForm_DDRB
that allows
it to process DMatrixRMaj.-
Field Summary
Fields inherited from class org.ejml.dense.row.decomposition.BaseDecomposition_DDRB_to_DDRM
Ablock, alg, blockLength, workspace
-
Constructor Summary
ConstructorDescriptionCholeskyDecomposition_DDRB_to_DDRM
(boolean lower) CholeskyDecomposition_DDRB_to_DDRM
(DecompositionInterface<DMatrixRBlock> alg, int blockLength) -
Method Summary
Modifier and TypeMethodDescriptionComputes the matrix's determinant using the decomposition.getT
(@Nullable DMatrixRMaj T) Returns the triangular matrix from the decomposition.boolean
isLower()
If true the decomposition was for a lower triangular matrix.Methods inherited from class org.ejml.dense.row.decomposition.BaseDecomposition_DDRB_to_DDRM
convertBlockToRow, decompose, inputModified
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.decomposition.DecompositionInterface
decompose, inputModified
-
Constructor Details
-
CholeskyDecomposition_DDRB_to_DDRM
public CholeskyDecomposition_DDRB_to_DDRM(boolean lower) -
CholeskyDecomposition_DDRB_to_DDRM
public CholeskyDecomposition_DDRB_to_DDRM(DecompositionInterface<DMatrixRBlock> alg, int blockLength)
-
-
Method Details
-
isLower
public boolean isLower()Description copied from interface:CholeskyDecomposition
If true the decomposition was for a lower triangular matrix. If false it was for an upper triangular matrix.- Specified by:
isLower
in interfaceCholeskyDecomposition<DMatrixRMaj>
- Returns:
- True if lower, false if upper.
-
getT
Description copied from interface:CholeskyDecomposition
Returns the triangular matrix from the decomposition.
If an input is provided that matrix is used to write the results to. Otherwise a new matrix is created and the results written to it.
- Specified by:
getT
in interfaceCholeskyDecomposition<DMatrixRMaj>
- Parameters:
T
- If not null then the decomposed matrix is written here.- Returns:
- A lower or upper triangular matrix.
-
computeDeterminant
Description copied from interface:CholeskyDecomposition_F64
Computes the matrix's determinant using the decomposition.- Specified by:
computeDeterminant
in interfaceCholeskyDecomposition_F64<DMatrixRMaj>
- Returns:
- The determinant.
-