|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SimpleVector.VectorNormType>
edu.stanford.rsl.konrad.numerics.SimpleVector.VectorNormType
public static enum SimpleVector.VectorNormType
Enum Constant Summary | |
---|---|
VEC_NORM_L1
A vectors' L_1 norm is the sum of its absolute values. |
|
VEC_NORM_L2
A vectors' L_2 norm is the square root of the sum of squares of its entries. |
|
VEC_NORM_LINF
A vectors' L_infinity norm is the maximum of its absolute values. |
Method Summary | |
---|---|
static SimpleVector.VectorNormType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SimpleVector.VectorNormType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SimpleVector.VectorNormType VEC_NORM_L1
public static final SimpleVector.VectorNormType VEC_NORM_L2
public static final SimpleVector.VectorNormType VEC_NORM_LINF
Method Detail |
---|
public static SimpleVector.VectorNormType[] values()
for (SimpleVector.VectorNormType c : SimpleVector.VectorNormType.values()) System.out.println(c);
public static SimpleVector.VectorNormType 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |