org.ojalgo.matrix.decomposition

## Interface MatrixDecomposition.Hermitian<N extends Number>

• All Superinterfaces:
MatrixDecomposition<N>
All Known Subinterfaces:
Cholesky<N>, Eigenvalue<N>, LDL<N>
All Known Implementing Classes:
HermitianEvD
Enclosing interface:
MatrixDecomposition<N extends Number>

```public static interface MatrixDecomposition.Hermitian<N extends Number>
extends MatrixDecomposition<N>```
Some matrix decompositions are only available with hermitian (symmetric) matrices or different decomposition algorithms could be used depending on if the matrix is hemitian or not.
Author:
apete

• ### Nested classes/interfaces inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition

`MatrixDecomposition.Determinant<N extends Number>, MatrixDecomposition.EconomySize<N extends Number>, MatrixDecomposition.Factory<D extends MatrixDecomposition<?>>, MatrixDecomposition.Hermitian<N extends Number>, MatrixDecomposition.Solver<N extends Number>, MatrixDecomposition.Values<N extends Number>`

• ### Fields inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition

`TYPICAL`
• ### Method Summary

All Methods
Modifier and Type Method and Description
`default boolean` `checkAndCompute(MatrixStore<N> matrix)`
Absolutely must check if the matrix is hermitian or not.
• ### Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition

`decompose, isComputed, reconstruct, reset`
• ### Method Detail

• #### checkAndCompute

`default boolean checkAndCompute(MatrixStore<N> matrix)`
Absolutely must check if the matrix is hermitian or not. Then, depending on the result differents paths can be chosen - compute or not / choose different algorithms...
Parameters:
`matrix` - A matrix to check and then (maybe) decompose
Returns:
true if the hermitian check passed and computation suceeded; false if not