public interface DecompositionInterface<T extends Matrix>
An interface for performing matrix decompositions.
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.
Modifier and Type | Method and Description |
---|---|
boolean |
decompose(T orig)
Computes the decomposition of the input matrix.
|
boolean |
inputModified()
Is the input matrix to
decompose(org.ejml.data.Matrix) is modified during
the decomposition process. |
boolean decompose(T orig)
inputModified()
will return true and the matrix should not be
modified until the decomposition is no longer needed.orig
- The matrix which is being decomposed. Modification is implementation dependent.boolean inputModified()
decompose(org.ejml.data.Matrix)
is modified during
the decomposition process.