Package org.ejml.dense.row.decomposition
Class BaseDecomposition_DDRB_to_DDRM
java.lang.Object
org.ejml.dense.row.decomposition.BaseDecomposition_DDRB_to_DDRM
- All Implemented Interfaces:
DecompositionInterface<DMatrixRMaj>
- Direct Known Subclasses:
CholeskyDecomposition_DDRB_to_DDRM,QRDecomposition_DDRB_to_DDRM,TridiagonalDecomposition_DDRB_to_DDRM
public class BaseDecomposition_DDRB_to_DDRM
extends Object
implements DecompositionInterface<DMatrixRMaj>
Generic interface for wrapping a
DMatrixRBlock decomposition for
processing of DMatrixRMaj.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DMatrixRBlockprotected DecompositionInterface<DMatrixRBlock>protected intprotected DGrowArray -
Constructor Summary
ConstructorsConstructorDescriptionBaseDecomposition_DDRB_to_DDRM(DecompositionInterface<DMatrixRBlock> alg, int blockLength) -
Method Summary
Modifier and TypeMethodDescriptionvoidconvertBlockToRow(int numRows, int numCols, double[] data) booleanComputes the decomposition of the input matrix.booleanChecks if the input matrix toDecompositionInterface.decompose(org.ejml.data.Matrix)is modified during the decomposition process.
-
Field Details
-
alg
-
workspace
-
Ablock
-
blockLength
protected int blockLength
-
-
Constructor Details
-
BaseDecomposition_DDRB_to_DDRM
-
-
Method Details
-
decompose
Description copied from interface:DecompositionInterfaceComputes the decomposition of the input matrix. Depending on the implementation the input matrix might be stored internally or modified. If it is modified then the functionDecompositionInterface.inputModified()will return true and the matrix should not be modified until the decomposition is no longer needed.- Specified by:
decomposein interfaceDecompositionInterface<DMatrixRMaj>- Parameters:
A- The matrix which is being decomposed. Modification is implementation dependent.- Returns:
- Returns if it was able to decompose the matrix.
-
convertBlockToRow
public void convertBlockToRow(int numRows, int numCols, double[] data) -
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<DMatrixRMaj>- Returns:
- true if the input matrix to decompose() is modified.
-