public static enum SimpleMatrix.MatrixNormType extends java.lang.Enum<SimpleMatrix.MatrixNormType>
Enum Constant and Description |
---|
MAT_NORM_FROBENIUS
The Frobenius norm is the entry-wise 2-norm (the sum of squares of all entries).
|
MAT_NORM_L1
The L_1-induced norm is equivalent to the maximum absolute column sum of the matrix.
|
MAT_NORM_L2
The L_2-induced norm is the largest singular value of the matrix M or the largest eigenvalue of A^* * A.
|
MAT_NORM_LINF
The L_infinity-induced norm is equivalent to the maximum absolute row sum of the matrix.
|
Modifier and Type | Method and Description |
---|---|
static SimpleMatrix.MatrixNormType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimpleMatrix.MatrixNormType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleMatrix.MatrixNormType MAT_NORM_L1
public static final SimpleMatrix.MatrixNormType MAT_NORM_L2
public static final SimpleMatrix.MatrixNormType MAT_NORM_LINF
public static final SimpleMatrix.MatrixNormType MAT_NORM_FROBENIUS
public static SimpleMatrix.MatrixNormType[] values()
for (SimpleMatrix.MatrixNormType c : SimpleMatrix.MatrixNormType.values()) System.out.println(c);
public static SimpleMatrix.MatrixNormType 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 null