Enum DecompTypesEnum

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DecompTypesEnum>

    public enum DecompTypesEnum
    extends java.lang.Enum<DecompTypesEnum>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DECOMP_CHOLESKY
      Cholesky \f$LL^T\f$ factorization; the matrix src1 must be symmetrical and positively defined
      DECOMP_EIG
      eigenvalue decomposition; the matrix src1 must be symmetrical
      DECOMP_LU
      Gaussian elimination with the optimal pivot element chosen.
      DECOMP_NORMAL
      while all the previous flags are mutually exclusive, this flag can be used together with any of the previous; it means that the normal equations \f$\texttt{src1}^T\cdot\texttt{src1}\cdot\texttt{dst}=\texttt{src1}^T\texttt{src2}\f$ are solved instead of the original system \f$\texttt{src1}\cdot\texttt{dst}=\texttt{src2}\f$
      DECOMP_QR
      QR factorization; the system can be over-defined and/or the matrix src1 can be singular
      DECOMP_SVD
      singular value decomposition (SVD) method; the system can be over-defined and/or the matrix src1 can be singular
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int value  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DecompTypesEnum valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DecompTypesEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • DECOMP_LU

        public static final DecompTypesEnum DECOMP_LU
        Gaussian elimination with the optimal pivot element chosen.
      • DECOMP_SVD

        public static final DecompTypesEnum DECOMP_SVD
        singular value decomposition (SVD) method; the system can be over-defined and/or the matrix src1 can be singular
      • DECOMP_EIG

        public static final DecompTypesEnum DECOMP_EIG
        eigenvalue decomposition; the matrix src1 must be symmetrical
      • DECOMP_CHOLESKY

        public static final DecompTypesEnum DECOMP_CHOLESKY
        Cholesky \f$LL^T\f$ factorization; the matrix src1 must be symmetrical and positively defined
      • DECOMP_QR

        public static final DecompTypesEnum DECOMP_QR
        QR factorization; the system can be over-defined and/or the matrix src1 can be singular
      • DECOMP_NORMAL

        public static final DecompTypesEnum DECOMP_NORMAL
        while all the previous flags are mutually exclusive, this flag can be used together with any of the previous; it means that the normal equations \f$\texttt{src1}^T\cdot\texttt{src1}\cdot\texttt{dst}=\texttt{src1}^T\texttt{src2}\f$ are solved instead of the original system \f$\texttt{src1}\cdot\texttt{dst}=\texttt{src2}\f$
    • Field Detail

      • value

        public final int value
    • Method Detail

      • values

        public static DecompTypesEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DecompTypesEnum c : DecompTypesEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DecompTypesEnum valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null