public class PiecewiseFunction extends IntervalsFunction
IParamDiffFunction, each sub function applying to a certain interval defined by the first
date of the interval.
First interval from –infinity to the first date. Last interval from the last date to + infinity. The interval structure is defined as [k, k+1[ (first bracket close, second open)
Each function parameters descriptor is enriched with a
StandardFieldDescriptors.DATE_INTERVAL corresponding to the interval where the parameter
is defined.
| Constructor and Description |
|---|
PiecewiseFunction(List<IParamDiffFunction> flist,
List<AbsoluteDate> xlist)
Simple constructor with 2 lists (
IParamDiffFunction and AbsoluteDate) where
the dates list represents the connection points between functions, with an interval form
[closed; opened[. |
derivativeValue, isDifferentiableBy, valueaddAllParameters, addAllParameters, addParameter, getParameters, supportsParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameters, supportsParameterpublic PiecewiseFunction(List<IParamDiffFunction> flist, List<AbsoluteDate> xlist) throws PatriusException
IParamDiffFunction and AbsoluteDate) where
the dates list represents the connection points between functions, with an interval form
[closed; opened[.
So dates list size must equals to functions list size - 1 else exception is thrown.
The function is defined between AbsoluteDate.PAST_INFINITY and
AbsoluteDate.FUTURE_INFINITY, such as the N intervals [PAST_INFINITY;
date1[, [date1, date2[, [...[, [dateN, FUTURE_INFINITY[ are defined from the N-1 dates
for the N piecewise functions.
Each function parameters descriptor is enriched with a
StandardFieldDescriptors.DATE_INTERVAL corresponding to the interval where the
parameter is defined.
flist - list of functionsxlist - list of dates ordered chronologicallyPatriusException - if the dates list contains AbsoluteDate.PAST_INFINITY or
AbsoluteDate.FUTURE_INFINITY
if the dates aren't ordered chronologically in the list
if the list contains the same date twiceDimensionMismatchException - if xlist.size() != flist.size() - 1Copyright © 2022 CNES. All rights reserved.