public class LineMinimizerDerivativeBased.InternalFunction extends AbstractDifferentiableUnivariateScalarFunction
| Constructor and Description |
|---|
InternalFunction() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
convertInputFromInternal(double internalInput)
Converts the internal x-axis value to real-world x-axis value
|
InputOutputSlopeTriplet |
convertInputFromInternal(InputOutputSlopeTriplet internalPoint)
Converts an InternalFunction InputOutputSlopeTriplet to a real-world
InputOutputSlopeTriplet by unreflection and flipping the sign of the
slope (if the direction of search was backward).
|
double |
convertInputToInternal(double input)
Converts a real-world "x" value to the internal values used inside
the search algorithm.
|
double |
differentiate(double internalInput)
Differentiates the output of the function about the given input
|
double |
evaluate(double internalInput)
Produces a double output for the given double input
|
cloneequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdifferentiateevaluate, evaluateAsDoublepublic double convertInputToInternal(double input)
input - Input value in the real-worldprotected double convertInputFromInternal(double internalInput)
internalInput - internalInput to convertpublic InputOutputSlopeTriplet convertInputFromInternal(InputOutputSlopeTriplet internalPoint)
internalPoint - InternalFunction-based point to manipulatepublic double evaluate(double internalInput)
UnivariateScalarFunctioninternalInput - Input to the Evaluatorpublic double differentiate(double internalInput)
DifferentiableUnivariateScalarFunctioninternalInput - Input about which to compute the derivative of the function output