public class PiecewiseFunction extends IntervalsFunction
It is defined by a collection of functions, each sub function applying to a certain
interval defined by the first date of the interval.
First interval from PAST_INFINITY to the first date.
Last interval from the last date to FUTURE_INFINITY.
The interval structure is defined as [k, k+1[ (first bracket closed, second opened).
Each function parameters descriptor is enriched with a StandardFieldDescriptors.DATE_INTERVAL corresponding
to the interval where the parameter is defined.
| Constructor and Description |
|---|
PiecewiseFunction(Collection<IParamDiffFunction> functionsCollection,
Collection<AbsoluteDate> datesCollection)
|
derivativeValue, getEntry, getEntry, getFunctions, getIntervalFunctionAssociation, getIntervals, isDifferentiableBy, toString, valueaddAllParameters, addAllParameters, addParameter, getParameters, supportsParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameters, supportsParameterpublic PiecewiseFunction(Collection<IParamDiffFunction> functionsCollection, Collection<AbsoluteDate> datesCollection) throws PatriusException
functions and a collection of
dates where the dates represents the connection points between functions,
with an interval form [closed; opened[.
So, the collection of dates size must be equal to the collection of functions size - 1, else an 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.
functionsCollection - Collection of functionsdatesCollection - Collection of dates, chronologically orderedPatriusException - if the collection of dates contains AbsoluteDate.PAST_INFINITY or
AbsoluteDate.FUTURE_INFINITYDimensionMismatchException - if datesCollection.size() != functionsCollection.size() - 1Copyright © 2025 CNES. All rights reserved.