public class DoubleFunctionExtremumFound extends DoubleFunctionFinding
DoubleFunctionExplorer
that a function has a local
extremum at a specific Variable.Constructor and Description |
---|
DoubleFunctionExtremumFound(DoubleFunctionExtremumIndicated indication,
double extremumVariable,
double extremumValue)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
DoubleFunctionExplorer |
getExplorer()
Gets the
DoubleFunctionExplorer that found this extremum. |
ExtremumType |
getExtremumType()
Gets a function value indicating whether the extremum is a minimum or maximum.
|
double |
getExtremumValue()
Gets the function value of the extremum.
|
double |
getExtremumVariable()
Gets the Variable of the extremum.
|
DoubleFunctionDetails |
getFunction()
Gets the function for which the extremum was found.
|
DoubleFunctionExtremumIndicated |
getIndication()
Gets the finding that indicated the existence of this extremum.
|
boolean |
getIsEndpointExtremum()
Gets a value indicating whether or not this extremum occurred at one of the endpoints
of an interval explored with
DoubleFunctionExplorer.explore(double,double) . |
public DoubleFunctionExtremumFound(DoubleFunctionExtremumIndicated indication, double extremumVariable, double extremumValue)
indication
- The finding that indicated the existence of this extremum.extremumVariable
- The Variable of the extremum.extremumValue
- The function value of the extremum.public final DoubleFunctionExplorer getExplorer()
DoubleFunctionExplorer
that found this extremum.public final DoubleFunctionDetails getFunction()
public final DoubleFunctionExtremumIndicated getIndication()
public final double getExtremumVariable()
public final double getExtremumValue()
@Nonnull public final ExtremumType getExtremumType()
public final boolean getIsEndpointExtremum()
DoubleFunctionExplorer.explore(double,double)
.
Endpoint extrema do not necessarily indicate places in the function have a derivative of zero,
but they can still be global minima or maxima over the evaluation interval.