public class DatePolynomialFunction extends Object implements UnivariateDateFunction
Constructor and Description |
---|
DatePolynomialFunction(AbsoluteDate origin,
double[] polynomialCoefs)
Constructor.
|
DatePolynomialFunction(DatePolynomialFunction function)
Clone constructor.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getCoefPoly()
Returns a copy of polynomial development coefficients.
|
int |
getPolyOrder()
Returns polynomial order.
|
AbsoluteDate |
getT0()
Returns the model origin date.
|
double |
value(AbsoluteDate date)
Returns value of function at provided date.
|
public DatePolynomialFunction(AbsoluteDate origin, double[] polynomialCoefs)
origin
- origin date for the polynomial developmentpolynomialCoefs
- polynomial development coefficientspublic DatePolynomialFunction(DatePolynomialFunction function)
function
- function to copypublic AbsoluteDate getT0()
public double[] getCoefPoly()
public int getPolyOrder()
public double value(AbsoluteDate date)
value
in interface UnivariateDateFunction
date
- a dateCopyright © 2019 CNES. All Rights Reserved.