Enum Class Side
- All Implemented Interfaces:
Serializable, Comparable<Side>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionintblas()Returns the integer value for CBLAS.Returns a human-readable description of this side option.static SidefromBlas(int value) Returns theSideconstant corresponding to the given CBLAS integer value.static SidefromLapack(byte value) Returns theSideconstant corresponding to the given LAPACK byte value.bytelapack()Returns the byte value for LAPACK.static SideReturns the enum constant of this class with the specified name.static Side[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEFT
Symmetric matrix A appears on the left:C = A * B. -
RIGHT
Symmetric matrix A appears on the right:C = B * A.
-
-
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 integer value for CBLAS.- Returns:
- the CBLAS integer value.
-
lapack
public byte lapack()Returns the byte value for LAPACK.- Returns:
- the LAPACK byte value.
-
description
Returns a human-readable description of this side option.- Returns:
- a human-readable description.
-
fromBlas
Returns theSideconstant corresponding to the given CBLAS integer value.- Parameters:
value- the CBLAS integer value (141or142).- Returns:
- the matching
Sideconstant. - Throws:
IllegalArgumentException- if the value does not match any constant.
-
fromLapack
Returns theSideconstant corresponding to the given LAPACK byte value.- Parameters:
value- the LAPACK byte value ('L'or'R').- Returns:
- the matching
Sideconstant. - Throws:
IllegalArgumentException- if the value does not match any constant.
-