Package com.irurueta.algebra
Enum Class DecomposerType
- All Implemented Interfaces:
Serializable
,Comparable<DecomposerType>
,Constable
Enumerator indicating the possible methods available for matrix decomposition.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefines Cholesky decomposition, which decomposes a square symmetric and positive definite matrix into a triangular factor (L) and its transposed (L').Defines LU decomposition, which decomposes a matrix into upper (U) and lower (L) triangular matrices.Defines QR decomposition, which decomposes a matrix into an orthogonal matrix (Q) and an upper triangular matrix (R).Defines Economy QR decomposition, which is a faster version of QR decomposition.Defines RQ decomposition, which decomposes a matrix into an upper diagonal matrix (R) and an orthogonal matrix (Q).Defines Singular Value Decomposition, which decomposes any rectangular matrix into 2 unary matrices (U, V) and 1 diagonal matrix containing singular values (D). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DecomposerType
Returns the enum constant of this class with the specified name.static DecomposerType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LU_DECOMPOSITION
Defines LU decomposition, which decomposes a matrix into upper (U) and lower (L) triangular matrices. -
QR_DECOMPOSITION
Defines QR decomposition, which decomposes a matrix into an orthogonal matrix (Q) and an upper triangular matrix (R). -
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
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
Defines Cholesky decomposition, which decomposes a square symmetric and positive definite matrix into a triangular factor (L) and its transposed (L'). -
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
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
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 nameNullPointerException
- if the argument is null
-