public enum MatrixOrder extends Enum<MatrixOrder>
Matrix2D
operations.Enum Constant and Description |
---|
APPEND
Constant that defines an append operation for matrix multiplications.
|
PREPEND
Constant that defines a prepend operation for matrix multiplications.
|
Modifier and Type | Method and Description |
---|---|
static MatrixOrder |
fromOrdinal(int ordinal) |
int |
value() |
static MatrixOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatrixOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatrixOrder APPEND
Appending a matrix T to another matrix M results in the operation M′ = T M. Essentially, this means that T is applied after M when applying M′ to a vector.
public static final MatrixOrder PREPEND
Prepending a matrix T to another matrix M results in the operation M′ = M T. Essentially, this means that T is applied before M when applying M′ to a vector.
public static final MatrixOrder fromOrdinal(int ordinal)
public int value()
public static MatrixOrder valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static MatrixOrder[] values()
for (MatrixOrder c : MatrixOrder.values()) System.out.println(c);