public class LineBracketInterpolatorParabola extends AbstractLineBracketInterpolatorPolynomial<Evaluator<java.lang.Double,java.lang.Double>>
DEFAULT_TOLERANCE
Constructor and Description |
---|
LineBracketInterpolatorParabola()
Creates a new instance of LineBracketInterpolatorParabola
|
Modifier and Type | Method and Description |
---|---|
PolynomialFunction.ClosedForm |
computePolynomial(LineBracket bracket,
Evaluator<java.lang.Double,java.lang.Double> function)
Fits the interpolating polynomial to the given LineBracket
|
boolean |
hasSufficientPoints(LineBracket bracket)
Parabolic interpolation needs three noncollinear points to fit a
parabola to them.
|
findMinimum
getTolerance, setTolerance
clone
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone
public LineBracketInterpolatorParabola()
public boolean hasSufficientPoints(LineBracket bracket)
bracket
- LineBracket to considerpublic PolynomialFunction.ClosedForm computePolynomial(LineBracket bracket, Evaluator<java.lang.Double,java.lang.Double> function)
AbstractLineBracketInterpolatorPolynomial
computePolynomial
in class AbstractLineBracketInterpolatorPolynomial<Evaluator<java.lang.Double,java.lang.Double>>
bracket
- LineBracket to considerfunction
- Function to use to fill in missing information