public enum DerivativeMode extends Enum<DerivativeMode> implements Enumeration
| Enum Constant and Description |
|---|
FULL_EVALUATION
Compute both fast and slow derivatives.
|
PERTURBATION_EVALUATION
Compute all remaining derivatives not included when computing the "fast" derivatives.
|
PRINCIPAL_EVALUATION
Compute only those derivatives that are most important and quick to compute.
|
| Modifier and Type | Method and Description |
|---|---|
static DerivativeMode |
getDefault()
Get the enum constant that is considered to be the default.
|
static DerivativeMode |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static DerivativeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DerivativeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DerivativeMode FULL_EVALUATION
public static final DerivativeMode PRINCIPAL_EVALUATION
public static final DerivativeMode PERTURBATION_EVALUATION
public static DerivativeMode[] values()
for (DerivativeMode c : DerivativeMode.values()) System.out.println(c);
public static DerivativeMode 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 nullpublic int getValue()
getValue in interface Enumeration@Nonnull public static DerivativeMode getFromValue(int value)
value - a numeric value.@Nonnull public static DerivativeMode getDefault()