Interface MatrixDecomposition<N extends Comparable<N>>

All Superinterfaces:
Structure1D, Structure2D
All Known Subinterfaces:
Bidiagonal<N>, Cholesky<N>, Eigenvalue<N>, Eigenvalue.Generalised<N>, Eigenvalue.Spectral<N>, Hessenberg<N>, LDL<N>, LDU<N>, LU<N>, MatrixDecomposition.Determinant<N>, MatrixDecomposition.EconomySize<N>, MatrixDecomposition.Hermitian<N>, MatrixDecomposition.Ordered<N>, MatrixDecomposition.Pivoting<N>, MatrixDecomposition.RankRevealing<N>, MatrixDecomposition.Solver<N>, MatrixDecomposition.Updatable<N>, MatrixDecomposition.Values<N>, QR<N>, SingularValue<N>, Tridiagonal<N>
All Known Implementing Classes:
AbstractDecomposition, DeferredTridiagonal, DeferredTridiagonal.C128, DeferredTridiagonal.H256, DeferredTridiagonal.Q128, DeferredTridiagonal.R064, DeferredTridiagonal.R128, DenseBidiagonal, DenseBidiagonal.C128, DenseBidiagonal.H256, DenseBidiagonal.Q128, DenseBidiagonal.R064, DenseBidiagonal.R128, DenseCholesky, DenseCholesky.C128, DenseCholesky.H256, DenseCholesky.Q128, DenseCholesky.R064, DenseCholesky.R128, DenseEigenvalue, DenseHessenberg, DenseHessenberg.C128, DenseHessenberg.H256, DenseHessenberg.Q128, DenseHessenberg.R064, DenseHessenberg.R128, DenseLDL, DenseLDL.C128, DenseLDL.H256, DenseLDL.Q128, DenseLDL.R064, DenseLDL.R128, DenseLU, DenseLU.C128, DenseLU.H256, DenseLU.Q128, DenseLU.R064, DenseLU.R128, DenseQR, DenseQR.C128, DenseQR.H256, DenseQR.Q128, DenseQR.R064, DenseQR.R128, DenseSingularValue, DenseSingularValue.C128, DenseSingularValue.H256, DenseSingularValue.Q128, DenseSingularValue.R064, DenseSingularValue.R128, DenseTridiagonal, DynamicEvD, DynamicEvD.R064, GeneralEvD, GeneralEvD.R064, GeneralisedEvD, HermitianEvD, HermitianEvD.C128, HermitianEvD.H256, HermitianEvD.Q128, HermitianEvD.R064, HermitianEvD.R128, InPlaceDecomposition, RawCholesky, RawDecomposition, RawEigenvalue, RawEigenvalue.Dynamic, RawEigenvalue.General, RawEigenvalue.Symmetric, RawLU, RawQR, RawSingularValue, SimultaneousTridiagonal, SparseLU, SparseQDLDL

public interface MatrixDecomposition<N extends Comparable<N>> extends Structure2D
Notation used to describe the various matrix decompositions:
  • [A] could be any matrix. (The original matrix to decompose.)
  • [A]-1 is the inverse of [A].
  • [A]T is the transpose of [A].
  • [A]H is the conjugate transpose of [A]. [A]H is equivalent to [A]T if the elements are all real.
  • [D] is a diagonal matrix. Possibly bi-, tri- or block-diagonal.
  • [H] is an, upper or lower, Hessenberg matrix.
  • [I] is an identity matrix - obviously orthogonal/unitary.
  • [L] is a lower (left) triangular matrix.
  • [P] is a permutation matrix - an identity matrix with interchanged rows or columns - and orthogonal/unitary.
  • [Q] is an orthogonal/unitary matrix. [Q]-1 = [Q]H, and with real matrices = [Q] T.
  • [R] is a right (upper) tringular matrix. It is equivalent to [U].
  • [U] is an upper (right) triangular matrix. It is equivalent to [R]. Alternatively [U] is also used to denominate the left, orthonormal, singular vectors.
  • [V] is an eigenvector matrix and/or an orthogonal matrix – the columns are the eigenvectors or the right, orthonormal, singular vectors.
  • Field Details

  • Method Details

    • decompose

      boolean decompose(Access2D.Collectable<N, ? super TransformableRegion<N>> matrix)
      Parameters:
      matrix - A matrix to decompose
      Returns:
      true if decomposition suceeded; false if not
    • isComputed

      boolean isComputed()
      Returns:
      true if decomposition has been attemped and was successful; false if not.
      See Also:
    • reconstruct

      MatrixStore<N> reconstruct()
    • reset

      void reset()
      Delete computed results, and resets attributes to default values