public class QuinticPolynomial
Quintic polynomial interpolated according to the provided derivatives.
Constructor and Description |
---|
QuinticPolynomial(double start,
double startDeriv,
double startSecondDeriv,
double end,
double endDeriv,
double endSecondDeriv)
Quintic polynomial interpolated according to the provided derivatives.
|
Modifier and Type | Method and Description |
---|---|
double |
deriv(double t)
Returns the derivative of the polynomial at
t . |
double |
get(double t)
Returns the value of the polynomial at
t . |
double |
getA() |
double |
getB() |
double |
getC() |
double |
getD() |
double |
getE() |
double |
getF() |
double |
secondDeriv(double t)
Returns the second derivative of the polynomial at
t . |
double |
thirdDeriv(double t)
Returns the third derivative of the polynomial at
t . |
java.lang.String |
toString() |
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()