public class DatePolynomialFunction extends Object implements DatePolynomialFunctionInterface
| Constructor and Description |
|---|
DatePolynomialFunction(AbsoluteDate origin,
Double timeFactorIn,
PolynomialFunction polyFunction)
Main constructor.
|
DatePolynomialFunction(AbsoluteDate origin,
PolynomialFunction polyFunction)
Constructor using real time (unreduced time).
|
| Modifier and Type | Method and Description |
|---|---|
DatePolynomialFunction |
copy(AbsoluteDate newOriginDate)
Build a new date polynomial function whose value over time is the same as this (same degree), only the origin
date is different what may modify the time factor and/or the polynomial coefficients (pending the polynomial
type).
|
DatePolynomialFunction |
derivative()
Getter for the derivative date polynomial function.
|
double[] |
getCoefficients()
Getter for the polynomial coefficients.
|
int |
getDegree()
Getter for the polynomial degree.
|
PolynomialType |
getPolynomialType()
Getter for the type of this polynomial function.
|
AbsoluteDate |
getT0()
Returns the model origin date.
|
Double |
getTimeFactor()
Getter for the time factor.
|
DatePolynomialFunction |
primitive(AbsoluteDate date0,
double value0)
Getter for the primitive date polynomial function at the given date and for the given function value at
abscissa0.
|
double |
value(AbsoluteDate date)
Returns value of function at provided date.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdateToDouble, doubleToDatepublic DatePolynomialFunction(AbsoluteDate origin, PolynomialFunction polyFunction)
origin - the origin date for the polynomial developmentpolyFunction - the polynomial functionpublic DatePolynomialFunction(AbsoluteDate origin, Double timeFactorIn, PolynomialFunction polyFunction)
origin - the origin date for the polynomial developmenttimeFactorIn - the time Factor used to transform a time as double into an absoluteDate and vice-versa:
null, a unit time factor (value 1.0) is used.polyFunction - the polynomial functionpublic AbsoluteDate getT0()
getT0 in interface DatePolynomialFunctionInterfacepublic double value(AbsoluteDate date)
value in interface UnivariateDateFunctiondate - a datepublic DatePolynomialFunction derivative()
derivative in interface DatePolynomialFunctionInterfacepublic int getDegree()
getDegree in interface DatePolynomialFunctionInterfacepublic double[] getCoefficients()
getCoefficients in interface DatePolynomialFunctionInterfacepublic Double getTimeFactor()
getTimeFactor in interface DatePolynomialFunctionInterfacenull value corresponds to a unit time factor)public DatePolynomialFunction primitive(AbsoluteDate date0, double value0)
primitive in interface DatePolynomialFunctionInterfacedate0 - the date of interestvalue0 - the function value at abscissa0public DatePolynomialFunction copy(AbsoluteDate newOriginDate)
copy in interface DatePolynomialFunctionInterfacenewOriginDate - The new origin dateIllegalArgumentException - if the time factor is enabled and the new origin date is not strictly anterior to the current origin date
shifted by the timeFactorpublic PolynomialType getPolynomialType()
getPolynomialType in interface DatePolynomialFunctionInterfaceCopyright © 2025 CNES. All rights reserved.