Class TimeStampedDoubleAndDerivativeHermiteInterpolator

    • Constructor Detail

      • TimeStampedDoubleAndDerivativeHermiteInterpolator

        public TimeStampedDoubleAndDerivativeHermiteInterpolator()
        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).
      • TimeStampedDoubleAndDerivativeHermiteInterpolator

        public TimeStampedDoubleAndDerivativeHermiteInterpolator​(int interpolationPoints)
        Constructor with 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).

        Parameters:
        interpolationPoints - number of interpolation points
      • TimeStampedDoubleAndDerivativeHermiteInterpolator

        public TimeStampedDoubleAndDerivativeHermiteInterpolator​(int interpolationPoints,
                                                                 double extrapolationThreshold)
        Constructor.

        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).

        Parameters:
        interpolationPoints - number of interpolation points
        extrapolationThreshold - extrapolation threshold beyond which the propagation will fail