public class TimeStampedDoubleHermiteInterpolator extends AbstractTimeInterpolator<TimeStampedDouble>
HermiteInterpolator,
TimeInterpolatorAbstractTimeInterpolator.InterpolationDataDEFAULT_EXTRAPOLATION_THRESHOLD_SEC, DEFAULT_INTERPOLATION_POINTS| Constructor and Description |
|---|
TimeStampedDoubleHermiteInterpolator()
Constructor with :
Default number of interpolation points of
DEFAULT_INTERPOLATION_POINTS
Default extrapolation threshold value (DEFAULT_EXTRAPOLATION_THRESHOLD_SEC s)
As this implementation of interpolation is polynomial, it should be used only with small number of interpolation
points (about 10-20 points) in order to avoid Runge's
phenomenon and numerical problems (including NaN appearing). |
TimeStampedDoubleHermiteInterpolator(int interpolationPoints)
Constructor with default extrapolation threshold value (
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC s). |
TimeStampedDoubleHermiteInterpolator(int interpolationPoints,
double extrapolationThreshold)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected TimeStampedDouble |
interpolate(AbstractTimeInterpolator.InterpolationData interpolationData)
Interpolate instance from given interpolation data.
|
addOptionalSubInterpolatorIfDefined, checkInterpolatorCompatibilityWithSampleSize, getCentralDate, getExtrapolationThreshold, getNbInterpolationPoints, getSubInterpolators, getTimeParameter, interpolate, interpolatepublic TimeStampedDoubleHermiteInterpolator()
DEFAULT_INTERPOLATION_POINTSDEFAULT_EXTRAPOLATION_THRESHOLD_SEC s)public TimeStampedDoubleHermiteInterpolator(int interpolationPoints)
DEFAULT_EXTRAPOLATION_THRESHOLD_SEC s).
As this implementation of interpolation is polynomial, it should be used only with small number of interpolation points (about 10-20 points) in order to avoid Runge's phenomenon and numerical problems (including NaN appearing).
interpolationPoints - number of interpolation pointspublic TimeStampedDoubleHermiteInterpolator(int interpolationPoints,
double extrapolationThreshold)
As this implementation of interpolation is polynomial, it should be used only with small number of interpolation points (about 10-20 points) in order to avoid Runge's phenomenon and numerical problems (including NaN appearing).
interpolationPoints - number of interpolation pointsextrapolationThreshold - extrapolation threshold beyond which the propagation will failprotected TimeStampedDouble interpolate(AbstractTimeInterpolator.InterpolationData interpolationData)
interpolate in class AbstractTimeInterpolator<TimeStampedDouble>interpolationData - interpolation dataCopyright © 2002-2023 CS GROUP. All rights reserved.