public class QuinticPolynomial
Quintic polynomial interpolated according to the provided derivatives.
public QuinticPolynomial(double start, double startDeriv, double startSecondDeriv, double end, double endDeriv, double endSecondDeriv)
Quintic polynomial interpolated according to the provided derivatives.
start
- start valuestartDeriv
- start derivativestartSecondDeriv
- start second derivativeend
- end valueendDeriv
- end derivativeendSecondDeriv
- end second derivativepublic double getA()
public double getB()
public double getC()
public double getD()
public double getE()
public double getF()
public double secondDeriv(double t)
Returns the second derivative of the polynomial at t
.
t
public double thirdDeriv(double t)
Returns the third derivative of the polynomial at t
.
t
@NotNull public java.lang.String toString()