|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.propagation.analytical.twod.AbstractDateIntervalFunction org.orekit.propagation.analytical.twod.DateIntervalLinearFunction
public class DateIntervalLinearFunction
This class represents a piecewise linear function of date.
The function is defined by an initial condition x0 at a date t[0] and all first derivatives xDot[i] on
intervals [t[i],t[i+1]]. For date out of bounds, 1st derivative is considered as zero.
Constructor Summary | |
---|---|
DateIntervalLinearFunction(DateIntervalLinearFunction function)
Clone constructor. |
|
DateIntervalLinearFunction(double ax0,
AbsoluteDate[] timeIntervals,
double[] axDotIntervals)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.orekit.propagation.analytical.twod.AbstractDateIntervalFunction |
---|
getDateIntervals, getIndexInterval |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 copyMethod Detail |
---|
public double getX0()
public double[] getxDotIntervals()
public double value(AbsoluteDate t)
t
- a date
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |