Enum Class EVDJob
- All Implemented Interfaces:
Serializable, Comparable<EVDJob>, Constable
The option controlling whether eigenvectors are computed by LAPACK
eigenvalue routines (e.g.,
dgeev, dsyevd).
NO_VECTORS— only eigenvalues are computed (faster, less memory).VECTORS— both eigenvalues and eigenvectors are computed.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEigenvalues only are computed.Both eigenvalues and eigenvectors are computed. -
Method Summary
Modifier and TypeMethodDescriptionReturns a human-readable description of this job option.static EVDJobfromLapack(byte value) Returns theEVDJobconstant corresponding to the given LAPACK byte value.bytelapack()Returns the byte value for LAPACK.static EVDJobof(boolean vectors) Returns the appropriateEVDJobfor a boolean flag.static EVDJobReturns the enum constant of this class with the specified name.static EVDJob[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_VECTORS
Eigenvalues only are computed. -
VECTORS
Both eigenvalues and eigenvectors are computed.
-
-
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
-
lapack
public byte lapack()Returns the byte value for LAPACK.- Returns:
- the byte value for LAPACK.
-
description
Returns a human-readable description of this job option.- Returns:
- a human-readable description.
-
fromLapack
Returns theEVDJobconstant corresponding to the given LAPACK byte value.- Parameters:
value- the LAPACK byte value ('N'or'V').- Returns:
- the matching
EVDJobconstant. - Throws:
IllegalArgumentException- if the value does not match any constant.
-
of
Returns the appropriateEVDJobfor a boolean flag.- Parameters:
vectors-trueto compute eigenvectors,falsefor eigenvalues only.- Returns:
VECTORSorNO_VECTORS.
-