org.ejml.alg.dense.decomposition
Interface DecompositionInterface<T extends Matrix64F>

All Known Subinterfaces:
BidiagonalDecomposition<T>, CholeskyDecomposition<MatrixType>, EigenDecomposition<MatrixType>, LUDecomposition<T>, QRDecomposition<T>, QRPDecomposition<T>, SingularValueDecomposition<T>, TridiagonalSimilarDecomposition<MatrixType>
All Known Implementing Classes:
BaseDecompositionBlock64, BidiagonalDecompositionRow, BidiagonalDecompositionTall, BlockCholeskyOuterForm, BlockMatrix64HouseholderQR, CholeskyDecompositionBlock, CholeskyDecompositionBlock64, CholeskyDecompositionCommon, CholeskyDecompositionInner, CholeskyDecompositionLDL, HessenbergSimilarDecomposition, LUDecompositionAlt, LUDecompositionBase, LUDecompositionNR, QRColPivDecompositionHouseholderColumn, QRDecompositionBlock64, QRDecompositionHouseholder, QRDecompositionHouseholderColumn, QRDecompositionHouseholderTran, SvdImplicitQrDecompose, SwitchingEigenDecomposition, SymmetricQRAlgorithmDecomposition, TridiagonalDecompositionBlock, TridiagonalDecompositionBlockHouseholder, TridiagonalDecompositionHouseholder, WatchedDoubleStepQRDecomposition

public interface DecompositionInterface<T extends Matrix64F>

An interface for performing matrix decompositions on a DenseMatrix64F.

A matrix decomposition is an algorithm which decomposes the input matrix into a set of equivalent matrices that store the same information as the original. Decompositions are useful in that they allow specialized efficient algorithms to be run on generic input matrices.

By default most decompositions will modify the input matrix. This is done to save memory and simply code by reducing the number of cases which need to be tested.

Author:
Peter Abeles

Method Summary
 boolean decompose(T orig)
          Computes the decomposition of the input matrix.
 boolean inputModified()
          Is the input matrix to decompose(org.ejml.data.Matrix64F) is modified during the decomposition process.
 

Method Detail

decompose

boolean decompose(T orig)
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 inputModified() will return true and the matrix should not be modified until the decomposition is no longer needed.

Parameters:
orig - The matrix which is being decomposed. Modification is implementation dependent.
Returns:
Returns if it was able to decompose the matrix.

inputModified

boolean inputModified()
Is the input matrix to decompose(org.ejml.data.Matrix64F) is modified during the decomposition process.

Returns:
true if the input matrix to decompose() is modified.


Copyright © 2012. All Rights Reserved.