|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Vector.Norm>
no.uib.cipr.matrix.Vector.Norm
public static enum Vector.Norm
Supported vector-norms. The difference between the two 2-norms is that one is fast, but can overflow, while the robust version is overflow resistant, but slower.
Enum Constant Summary | |
---|---|
Infinity
Largest entry in absolute value |
|
One
Sum of the absolute values of the entries |
|
Two
The root of sum of squares |
|
TwoRobust
As the 2 norm may overflow, an overflow resistant version is also available. |
Method Summary | |
---|---|
static Vector.Norm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Vector.Norm[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 Vector.Norm One
public static final Vector.Norm Two
public static final Vector.Norm TwoRobust
public static final Vector.Norm Infinity
Method Detail |
---|
public static Vector.Norm[] values()
for (Vector.Norm c : Vector.Norm.values()) System.out.println(c);
public static Vector.Norm 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 |