Class CholeskyOuterForm_MT_DDRB
java.lang.Object
org.ejml.dense.block.decomposition.chol.CholeskyOuterForm_MT_DDRB
- All Implemented Interfaces:
 CholeskyDecomposition<DMatrixRBlock>,CholeskyDecomposition_F64<DMatrixRBlock>,DecompositionInterface<DMatrixRBlock>
@Generated("org.ejml.dense.block.decomposition.chol.CholeskyOuterForm_DDRB")
public class CholeskyOuterForm_MT_DDRB
extends Object
implements CholeskyDecomposition_F64<DMatrixRBlock>
Block Cholesky using outer product form. The original matrix is stored and modified.
Based on the description provided in "Fundamentals of Matrix Computations" 2nd Ed. by David S. Watkins.
- 
Constructor Summary
ConstructorsConstructorDescriptionCholeskyOuterForm_MT_DDRB(boolean lower) Creates a new BlockCholeskyOuterForm - 
Method Summary
Modifier and TypeMethodDescriptionComputes the matrix's determinant using the decomposition.booleanDecomposes the provided matrix and stores the result in the same matrix.getT(@Nullable DMatrixRBlock T) Returns the triangular matrix from the decomposition.booleanChecks if the input matrix toDecompositionInterface.decompose(org.ejml.data.Matrix)is modified during the decomposition process.booleanisLower()If true the decomposition was for a lower triangular matrix. 
- 
Constructor Details
- 
CholeskyOuterForm_MT_DDRB
public CholeskyOuterForm_MT_DDRB(boolean lower) Creates a new BlockCholeskyOuterForm- Parameters:
 lower- Should it decompose it into a lower triangular matrix or not.
 
 - 
 - 
Method Details
- 
decompose
Decomposes the provided matrix and stores the result in the same matrix.- Specified by:
 decomposein interfaceDecompositionInterface<DMatrixRBlock>- Parameters:
 A- Matrix that is to be decomposed. Modified.- Returns:
 - If it succeeded or not.
 
 - 
isLower
public boolean isLower()Description copied from interface:CholeskyDecompositionIf true the decomposition was for a lower triangular matrix. If false it was for an upper triangular matrix.- Specified by:
 isLowerin interfaceCholeskyDecomposition<DMatrixRBlock>- Returns:
 - True if lower, false if upper.
 
 - 
getT
Description copied from interface:CholeskyDecompositionReturns 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:
 getTin interfaceCholeskyDecomposition<DMatrixRBlock>- 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_F64Computes the matrix's determinant using the decomposition.- Specified by:
 computeDeterminantin interfaceCholeskyDecomposition_F64<DMatrixRBlock>- Returns:
 - The determinant.
 
 - 
inputModified
public boolean inputModified()Description copied from interface:DecompositionInterfaceChecks if the input matrix toDecompositionInterface.decompose(org.ejml.data.Matrix)is modified during the decomposition process.- Specified by:
 inputModifiedin interfaceDecompositionInterface<DMatrixRBlock>- Returns:
 - true if the input matrix to decompose() is modified.
 
 
 -