Interface MatrixDecomposition.Hermitian<N extends Comparable<N>>

All Superinterfaces:
MatrixDecomposition<N>, Structure1D, Structure2D
All Known Subinterfaces:
Cholesky<N>, Eigenvalue<N>, Eigenvalue.Generalised<N>, LDL<N>
All Known Implementing Classes:
CholeskyDecomposition, CholeskyDecomposition.C128, CholeskyDecomposition.H256, CholeskyDecomposition.Q128, CholeskyDecomposition.R064, CholeskyDecomposition.R128, DynamicEvD, DynamicEvD.R064, EigenvalueDecomposition, GeneralEvD, GeneralEvD.R064, GeneralisedEvD, HermitianEvD, HermitianEvD.C128, HermitianEvD.H256, HermitianEvD.Q128, HermitianEvD.R064, HermitianEvD.R128, LDLDecomposition, LDLDecomposition.C128, LDLDecomposition.H256, LDLDecomposition.Q128, LDLDecomposition.R064, LDLDecomposition.R128, RawCholesky, RawEigenvalue, RawEigenvalue.Dynamic, RawEigenvalue.General, RawEigenvalue.Symmetric
Enclosing interface:
MatrixDecomposition<N extends Comparable<N>>

public static interface MatrixDecomposition.Hermitian<N extends Comparable<N>> 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.
  • Method Details

    • checkAndDecompose

      default boolean checkAndDecompose(MatrixStore<N> matrix)
      Absolutely must check if the matrix is hermitian or not. Then, depending on the result different 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 decomposition succeeded; false if not