org.ejml.alg.dense.decomposition
Class BaseDecompositionBlock64
java.lang.Object
org.ejml.alg.dense.decomposition.BaseDecompositionBlock64
- All Implemented Interfaces:
- DecompositionInterface<DenseMatrix64F>
- Direct Known Subclasses:
- CholeskyDecompositionBlock64, QRDecompositionBlock64, TridiagonalDecompositionBlock
public class BaseDecompositionBlock64
- extends Object
- implements DecompositionInterface<DenseMatrix64F>
Generic interface for wrapping a BlockMatrix64F decomposition for
processing of DenseMatrix64F.
- Author:
- Peter Abeles
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
alg
protected DecompositionInterface<BlockMatrix64F> alg
tmp
protected double[] tmp
Ablock
protected BlockMatrix64F Ablock
blockLength
protected int blockLength
BaseDecompositionBlock64
public BaseDecompositionBlock64(DecompositionInterface<BlockMatrix64F> alg,
int blockLength)
decompose
public boolean decompose(DenseMatrix64F A)
- 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 function
DecompositionInterface.inputModified() will return true and the matrix should not be
modified until the decomposition is no longer needed.
- Specified by:
decompose in interface DecompositionInterface<DenseMatrix64F>
- 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,
int blockLength,
double[] data)
inputModified
public boolean inputModified()
- Description copied from interface:
DecompositionInterface
- Is the input matrix to
DecompositionInterface.decompose(org.ejml.data.Matrix64F) is modified during
the decomposition process.
- Specified by:
inputModified in interface DecompositionInterface<DenseMatrix64F>
- Returns:
- true if the input matrix to decompose() is modified.
Copyright © 2012. All Rights Reserved.