EvaluatorType - Type of Evaluator to usepublic interface LineBracketInterpolator<EvaluatorType extends Evaluator<java.lang.Double,java.lang.Double>> extends CloneableSerializable
| Modifier and Type | Method and Description | 
|---|---|
| double | findMinimum(LineBracket bracket,
           double minx,
           double maxx,
           EvaluatorType function)Finds the minimum of the bracket using the interpolation/extrapolation
 routine, where the minimum must lie between the minx and maxx values on
 the x-axis. | 
| double | getTolerance()Gets the tolerance of the interpolator to collinear or identical points,
 typically 1e-6, must be greater than 0.0. | 
| boolean | hasSufficientPoints(LineBracket bracket)Determines if the LineBracket contains a sufficient number/quality of
 points to conduct the interpolation. | 
clonedouble getTolerance()
double findMinimum(LineBracket bracket, double minx, double maxx, EvaluatorType function)
bracket - Bracket of pointsminx - Minimum x-axis value to search for the minimummaxx - Maximum x-axis value to search for the minimumfunction - Function to consider.  The function, or gradient, may be evaluated to
 generate enough output/slope samples to interpolate.boolean hasSufficientPoints(LineBracket bracket)
bracket - LineBracket to consider