Enum BidiagonalMatrix.BidiagonalMatrixType
- java.lang.Object
-
- java.lang.Enum<BidiagonalMatrix.BidiagonalMatrixType>
-
- dev.nm.algebra.linear.matrix.doubles.matrixtype.dense.diagonal.BidiagonalMatrix.BidiagonalMatrixType
-
- All Implemented Interfaces:
Serializable
,Comparable<BidiagonalMatrix.BidiagonalMatrixType>
- Enclosing class:
- BidiagonalMatrix
public static enum BidiagonalMatrix.BidiagonalMatrixType extends Enum<BidiagonalMatrix.BidiagonalMatrixType>
the available types of bi-diagonal matrices
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BidiagonalMatrix.BidiagonalMatrixType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BidiagonalMatrix.BidiagonalMatrixType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPPER
public static final BidiagonalMatrix.BidiagonalMatrixType UPPER
an upper bi-diagonal matrix, where there are only non-zero entries on the main and super diagonal
-
LOWER
public static final BidiagonalMatrix.BidiagonalMatrixType LOWER
a lower bi-diagonal matrix, where there are only non-zero entries on the main and sub diagonal
-
-
Method Detail
-
values
public static BidiagonalMatrix.BidiagonalMatrixType[] 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 (BidiagonalMatrix.BidiagonalMatrixType c : BidiagonalMatrix.BidiagonalMatrixType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BidiagonalMatrix.BidiagonalMatrixType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-