public enum Norm extends Enum<Norm>
Enum Constant and Description |
---|
Frobenius
The root of sum of the sum of squares
|
Infinity
Maximum column sum
|
One
Maximum absolute row sum
|
Two
Euclidean norm
|
Modifier and Type | Method and Description |
---|---|
static Norm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Norm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Norm One
public static final Norm Two
public static final Norm Frobenius
public static final Norm Infinity
public static Norm[] values()
for (Norm c : Norm.values()) System.out.println(c);
public static Norm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullJump to the Parallel Colt Homepage