public class DatePolynomialChebyshevFunction extends Object implements DatePolynomialFunctionInterface
The real time (unreduced time) is used.
| Constructor and Description |
|---|
DatePolynomialChebyshevFunction(AbsoluteDate originDate,
AbsoluteDate tStart,
AbsoluteDate tEnd,
double[] polynomialCoefs)
Constructor.
|
DatePolynomialChebyshevFunction(AbsoluteDate originDate,
PolynomialChebyshevFunction polyFunction)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DatePolynomialChebyshevFunction |
copy()
Copies this function and returns a new one identical to this.
|
DatePolynomialChebyshevFunction |
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).
|
double |
dateToDouble(AbsoluteDate date)
Getter for the time as double corresponding to the given
AbsoluteDate. |
DatePolynomialChebyshevFunction |
derivative()
Getter for the derivative date polynomial function.
|
AbsoluteDate |
doubleToDate(double time)
Getter for the
AbsoluteDate corresponding to the given time as double. |
AbsoluteDate[] |
getChebyshevAbscissas(int n)
Compute the N Chebyshev abscissas on the range [start ; end] in a chronological (increasing) order.
|
double[] |
getCoefficients()
Getter for the polynomial coefficients.
|
int |
getDegree()
Getter for the polynomial degree.
|
AbsoluteDate |
getEnd()
Getter for the Chebyshev polynomial range end date.
|
double |
getEndAsDouble()
Getter for the end range of the underlying polynomial Chebyshev function.
|
int |
getOrder()
Getter for polynomial order.
|
PolynomialType |
getPolynomialType()
Getter for the type of this polynomial function.
|
AbsoluteDateInterval |
getRange()
Getter for the Chebyshev polynomial range.
|
AbsoluteDate |
getStart()
Getter for the Chebyshev polynomial range start date.
|
double |
getStartAsDouble()
Getter for the start range of the underlying polynomial Chebyshev function.
|
AbsoluteDate |
getT0()
Getter for the Chebyshev polynomial origin date.
|
Double |
getTimeFactor()
Getter for the time factor.
|
DatePolynomialChebyshevFunction |
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.
|
public DatePolynomialChebyshevFunction(AbsoluteDate originDate, AbsoluteDate tStart, AbsoluteDate tEnd, double[] polynomialCoefs)
originDate - the polynomial origin datetStart - the Chebyshev polynomial range start datetEnd - the Chebyshev polynomial range end datepolynomialCoefs - the polynomial development coefficientspublic DatePolynomialChebyshevFunction(AbsoluteDate originDate, PolynomialChebyshevFunction polyFunction)
originDate - the polynomial origin datepolyFunction - the polynomial functionpublic DatePolynomialChebyshevFunction copy()
public AbsoluteDate getT0()
getT0 in interface DatePolynomialFunctionInterfacepublic AbsoluteDate getStart()
public AbsoluteDate getEnd()
public AbsoluteDateInterval getRange()
public int getOrder()
public AbsoluteDate[] getChebyshevAbscissas(int n)
n - Number of points to evaluateNotStrictlyPositiveException - if n <= 0public double value(AbsoluteDate date)
value in interface UnivariateDateFunctiondate - a datepublic int getDegree()
getDegree in interface DatePolynomialFunctionInterfacepublic double[] getCoefficients()
getCoefficients in interface DatePolynomialFunctionInterfacepublic DatePolynomialChebyshevFunction derivative()
derivative in interface DatePolynomialFunctionInterfacepublic DatePolynomialChebyshevFunction primitive(AbsoluteDate date0, double value0)
primitive in interface DatePolynomialFunctionInterfacedate0 - the date of interestvalue0 - the function value at abscissa0public final double dateToDouble(AbsoluteDate date)
AbsoluteDate.dateToDouble in interface DatePolynomialFunctionInterfacedate - the given AbsoluteDatepublic final AbsoluteDate doubleToDate(double time)
AbsoluteDate corresponding to the given time as double.doubleToDate in interface DatePolynomialFunctionInterfacetime - the given time as double with respect to time originAbsoluteDatepublic Double getTimeFactor()
getTimeFactor in interface DatePolynomialFunctionInterfacenull value corresponds to a unit time factor)public DatePolynomialChebyshevFunction copy(AbsoluteDate newOriginDate)
copy in interface DatePolynomialFunctionInterfacenewOriginDate - The new origin datepublic PolynomialType getPolynomialType()
getPolynomialType in interface DatePolynomialFunctionInterfacepublic double getStartAsDouble()
public double getEndAsDouble()
Copyright © 2025 CNES. All rights reserved.