public enum BracketToward extends Enum<BracketToward> implements Enumeration
BrentFindRoot
when a sampled
function value exactly equals zero and the root finder's ConvergenceCriteria
requires convergence on the independent variable.Enum Constant and Description |
---|
EARLIEST
The new bracket will be formed from the just-sampled zero and the side of the
previous bracket with a smaller independent variable value.
|
LATEST
The new bracket will be formed from the just-sampled zero and the side of the
previous bracket with a larger independent variable value.
|
NEGATIVE
The new bracket will be formed from the just-sampled zero and the side of the
previous bracket with a negative sampled function value.
|
POSITIVE
The new bracket will be formed from the just-sampled zero and the side of the
previous bracket with a positive sampled function value.
|
Modifier and Type | Method and Description |
---|---|
static BracketToward |
getDefault()
Get the enum constant that is considered to be the default.
|
static BracketToward |
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 BracketToward |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BracketToward[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BracketToward EARLIEST
public static final BracketToward LATEST
public static final BracketToward POSITIVE
public static final BracketToward NEGATIVE
public static BracketToward[] values()
for (BracketToward c : BracketToward.values()) System.out.println(c);
public static BracketToward 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 BracketToward getFromValue(int value)
value
- a numeric value.@Nonnull public static BracketToward getDefault()