Class CholeskyOuterForm_FDRB
java.lang.Object
org.ejml.dense.block.decomposition.chol.CholeskyOuterForm_FDRB
- All Implemented Interfaces:
CholeskyDecomposition<FMatrixRBlock>
,CholeskyDecomposition_F32<FMatrixRBlock>
,DecompositionInterface<FMatrixRBlock>
@Generated("org.ejml.dense.block.decomposition.chol.CholeskyOuterForm_DDRB")
public class CholeskyOuterForm_FDRB
extends Object
implements CholeskyDecomposition_F32<FMatrixRBlock>
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
-
Method Summary
Modifier and TypeMethodDescriptionComputes the matrix's determinant using the decomposition.boolean
Decomposes the provided matrix and stores the result in the same matrix.getT
(@Nullable FMatrixRBlock T) Returns the triangular matrix from the decomposition.boolean
Checks if the input matrix toDecompositionInterface.decompose(org.ejml.data.Matrix)
is modified during the decomposition process.boolean
isLower()
If true the decomposition was for a lower triangular matrix.
-
Constructor Details
-
CholeskyOuterForm_FDRB
public CholeskyOuterForm_FDRB(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:
decompose
in interfaceDecompositionInterface<FMatrixRBlock>
- Parameters:
A
- Matrix that is to be decomposed. Modified.- Returns:
- If it succeeded or not.
-
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<FMatrixRBlock>
- 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<FMatrixRBlock>
- 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_F32
Computes the matrix's determinant using the decomposition.- Specified by:
computeDeterminant
in interfaceCholeskyDecomposition_F32<FMatrixRBlock>
- Returns:
- The determinant.
-
inputModified
public boolean inputModified()Description copied from interface:DecompositionInterface
Checks if the input matrix toDecompositionInterface.decompose(org.ejml.data.Matrix)
is modified during the decomposition process.- Specified by:
inputModified
in interfaceDecompositionInterface<FMatrixRBlock>
- Returns:
- true if the input matrix to decompose() is modified.
-