Package smile.math.blas
Enum Class Diag
- All Implemented Interfaces:
Serializable
,Comparable<Diag>
,Constable
The flag if a triangular matrix has unit diagonal elements.
Some LAPACK routines have an option to handle unit triangular
matrices (that is, triangular matrices with diagonal elements = 1).
If the matrix is unit triangular, the diagonal elements of
the matrix need not be stored, and the corresponding array
elements are not referenced by the LAPACK routines.
The storage scheme for the rest of the matrix (whether
conventional, packed or band) remains unchanged.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
blas()
Returns the int value for BLAS.byte
lapack()
Returns the value for LAPACK.static Diag
Returns the enum constant of this class with the specified name.static Diag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NON_UNIT
Non-unit triangular. -
UNIT
Unit triangular.
-
-
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
-
blas
public int blas()Returns the int value for BLAS.- Returns:
- the int value for BLAS.
-
lapack
public byte lapack()Returns the value for LAPACK.- Returns:
- the value for LAPACK.
-