Package org.ejml.dense.row.decomposition
Class BaseDecomposition_FDRB_to_FDRM
java.lang.Object
org.ejml.dense.row.decomposition.BaseDecomposition_FDRB_to_FDRM
- All Implemented Interfaces:
DecompositionInterface<FMatrixRMaj>
- Direct Known Subclasses:
CholeskyDecomposition_FDRB_to_FDRM
,QRDecomposition_FDRB_to_FDRM
,TridiagonalDecomposition_FDRB_to_FDRM
@Generated("org.ejml.dense.row.decomposition.BaseDecomposition_DDRB_to_DDRM")
public class BaseDecomposition_FDRB_to_FDRM
extends Object
implements DecompositionInterface<FMatrixRMaj>
Generic interface for wrapping a
FMatrixRBlock
decomposition for
processing of FMatrixRMaj
.-
Field Summary
Modifier and TypeFieldDescriptionprotected FMatrixRBlock
protected DecompositionInterface<FMatrixRBlock>
protected int
protected FGrowArray
-
Constructor Summary
ConstructorDescriptionBaseDecomposition_FDRB_to_FDRM
(DecompositionInterface<FMatrixRBlock> alg, int blockLength) -
Method Summary
Modifier and TypeMethodDescriptionvoid
convertBlockToRow
(int numRows, int numCols, float[] 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_FDRB_to_FDRM
-
-
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<FMatrixRMaj>
- 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, float[] 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<FMatrixRMaj>
- Returns:
- true if the input matrix to decompose() is modified.
-