public class DateIntervalLinearFunction extends AbstractDateIntervalFunction
Constructor and Description |
---|
DateIntervalLinearFunction(DateIntervalLinearFunction function)
Clone constructor.
|
DateIntervalLinearFunction(double ax0,
AbsoluteDate[] timeIntervals,
double[] axDotIntervals)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getX0()
Returns value at first date.
|
double[] |
getxDotIntervals()
Returns a copy of 1st order derivatives on date intervals.
|
double |
value(AbsoluteDate t)
Returns value of function at provided date.
|
getDateIntervals, getIndexInterval
public DateIntervalLinearFunction(double ax0, AbsoluteDate[] timeIntervals, double[] axDotIntervals)
ax0
- value at first date t[0]timeIntervals
- date intervals (must be chronologically sorted)axDotIntervals
- 1st order derivatives on date intervals (size of vector must be of timeIntervals size - 1)public DateIntervalLinearFunction(DateIntervalLinearFunction function)
function
- function to copypublic double getX0()
public double[] getxDotIntervals()
public double value(AbsoluteDate t)
t
- a dateCopyright © 2021 CNES. All rights reserved.