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
Modifier and TypeFieldDescriptionprotected DMatrixRBlock
protected DecompositionInterface<DMatrixRBlock>
protected int
protected DGrowArray
-
Constructor Summary
ConstructorDescriptionBaseDecomposition_DDRB_to_DDRM
(DecompositionInterface<DMatrixRBlock> alg, int blockLength) -
Method Summary
Modifier and TypeMethodDescriptionvoid
convertBlockToRow
(int numRows, int numCols, double[] data) boolean
Computes the decomposition of the input matrix.boolean
Checks 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:DecompositionInterface
Computes 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:
decompose
in 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:DecompositionInterface
Checks if the input matrix toDecompositionInterface.decompose(org.ejml.data.Matrix)
is modified during the decomposition process.- Specified by:
inputModified
in interfaceDecompositionInterface<DMatrixRMaj>
- Returns:
- true if the input matrix to decompose() is modified.
-