EvaluatorType
- Type of Evaluator to considerpublic abstract class AbstractLineBracketInterpolatorPolynomial<EvaluatorType extends Evaluator<java.lang.Double,java.lang.Double>> extends AbstractLineBracketInterpolator<EvaluatorType>
DEFAULT_TOLERANCE
Constructor and Description |
---|
AbstractLineBracketInterpolatorPolynomial(double tolerance)
Creates a new instance of AbstractLineBracketInterpolatorPolynomial
|
Modifier and Type | Method and Description |
---|---|
abstract PolynomialFunction.ClosedForm |
computePolynomial(LineBracket bracket,
EvaluatorType function)
Fits the interpolating polynomial to the given LineBracket
|
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.
|
getTolerance, setTolerance
clone
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasSufficientPoints
clone
public AbstractLineBracketInterpolatorPolynomial(double tolerance)
tolerance
- Collinear tolerance of the algorithm.public double findMinimum(LineBracket bracket, double minx, double maxx, EvaluatorType function)
LineBracketInterpolator
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.public abstract PolynomialFunction.ClosedForm computePolynomial(LineBracket bracket, EvaluatorType function)
bracket
- LineBracket to considerfunction
- Function to use to fill in missing information