Enum Class DecomposerType

java.lang.Object
java.lang.Enum<DecomposerType>
com.irurueta.algebra.DecomposerType
All Implemented Interfaces:
Serializable, Comparable<DecomposerType>, Constable

public enum DecomposerType extends Enum<DecomposerType>
Enumerator indicating the possible methods available for matrix decomposition.
  • Enum Constant Details

    • LU_DECOMPOSITION

      public static final DecomposerType LU_DECOMPOSITION
      Defines LU decomposition, which decomposes a matrix into upper (U) and lower (L) triangular matrices.
    • QR_DECOMPOSITION

      public static final DecomposerType QR_DECOMPOSITION
      Defines QR decomposition, which decomposes a matrix into an orthogonal matrix (Q) and an upper triangular matrix (R).
    • QR_ECONOMY_DECOMPOSITION

      public static final DecomposerType QR_ECONOMY_DECOMPOSITION
      Defines Economy QR decomposition, which is a faster version of QR decomposition. Notice that economy sized version only works for matrices having rows < columns, while Q is a rows-by-columns and R is columns-by-columns in size.
    • RQ_DECOMPOSITION

      public static final DecomposerType RQ_DECOMPOSITION
      Defines RQ decomposition, which decomposes a matrix into an upper diagonal matrix (R) and an orthogonal matrix (Q). RQ decomposition is very similar to QR, and it is related to it through transposition by reversing order of factors R and Q respect to QR decomposition.
    • CHOLESKY_DECOMPOSITION

      public static final DecomposerType CHOLESKY_DECOMPOSITION
      Defines Cholesky decomposition, which decomposes a square symmetric and positive definite matrix into a triangular factor (L) and its transposed (L').
    • SINGULAR_VALUE_DECOMPOSITION

      public static final DecomposerType SINGULAR_VALUE_DECOMPOSITION
      Defines Singular Value Decomposition, which decomposes any rectangular matrix into 2 unary matrices (U, V) and 1 diagonal matrix containing singular values (D).
  • Constructor Details

    • DecomposerType

      private DecomposerType()
  • Method Details

    • values

      public static DecomposerType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DecomposerType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null