public enum MatrixType extends java.lang.Enum<MatrixType>
Enum Constant and Description |
---|
CDRM |
CSCC |
DDRM |
DSCC |
FDRM |
FSCC |
UNSPECIFIED |
ZDRM |
ZSCC |
Modifier and Type | Method and Description |
---|---|
Matrix |
create(int rows,
int cols) |
int |
getBits() |
boolean |
isDense() |
boolean |
isFixed() |
boolean |
isReal() |
static MatrixType |
lookup(boolean dense,
boolean real,
int bits)
Looks up the default matrix type for the specified features
|
static MatrixType |
lookup(java.lang.Class type) |
static MatrixType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatrixType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatrixType DDRM
public static final MatrixType FDRM
public static final MatrixType ZDRM
public static final MatrixType CDRM
public static final MatrixType DSCC
public static final MatrixType FSCC
public static final MatrixType ZSCC
public static final MatrixType CSCC
public static final MatrixType UNSPECIFIED
public static MatrixType[] values()
for (MatrixType c : MatrixType.values()) System.out.println(c);
public static MatrixType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static MatrixType lookup(java.lang.Class type)
public static MatrixType lookup(boolean dense, boolean real, int bits)
public boolean isReal()
public boolean isFixed()
public boolean isDense()
public int getBits()
public Matrix create(int rows, int cols)