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.
|
AbsoluteDate[] |
getChebyshevAbscissas(int n)
Compute the N Chebyshev abscissas on the range [start ; end] in a chronological (increasing) order.
|
double[] |
getCoefficients()
Get the polynomial coefficients.
|
int |
getDegree()
Return the polynomial degree.
|
AbsoluteDate |
getEnd()
Returns the Chebyshev polynomial range end date
|
int |
getOrder()
Returns polynomial order.
|
AbsoluteDateInterval |
getRange()
Returns the Chebyshev polynomial range
|
AbsoluteDate |
getStart()
Returns the Chebyshev polynomial range start date
|
AbsoluteDate |
getT0()
Returns the Chebyshev polynomial origin date
|
DatePolynomialChebyshevFunction |
polynomialDerivative()
Return the derivative date polynomial function.
|
DatePolynomialChebyshevFunction |
primitive(AbsoluteDate date0,
double value0)
Return 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, wait
dateToDouble, doubleToDate, getAbsoluteDateFromDoubleDate, getDoubleDateFromAbsoluteDate
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 DatePolynomialFunctionInterface
public AbsoluteDate getStart()
public AbsoluteDate getEnd()
public AbsoluteDateInterval getRange()
public int getOrder()
public AbsoluteDate[] getChebyshevAbscissas(int n)
n
- Number of points to evaluateNotStrictlyPositiveException
- if n <= 0
public double value(AbsoluteDate date)
value
in interface UnivariateDateFunction
date
- a datepublic int getDegree()
getDegree
in interface DatePolynomialFunctionInterface
public double[] getCoefficients()
getCoefficients
in interface DatePolynomialFunctionInterface
public DatePolynomialChebyshevFunction polynomialDerivative()
polynomialDerivative
in interface DatePolynomialFunctionInterface
public DatePolynomialChebyshevFunction primitive(AbsoluteDate date0, double value0)
primitive
in interface DatePolynomialFunctionInterface
date0
- the date of interestvalue0
- the function value at abscissa0Copyright © 2023 CNES. All rights reserved.