functioncubicHermiteLinearExtrapolation

Interpolate using a cubic Hermite spline with linear extrapolation

Extends from Modelica.Icons.Function (Icon for functions).

Information

For x1 < x < x2, this function interpolates using cubic hermite spline. For x outside this interval, the function linearly extrapolates.

For how to use this function, see Buildings.Utilities.Math.Functions.Examples.CubicHermite.

Inputs

TypeNameDefaultDescription
RealxAbscissa value
Realx1Lower abscissa value
Realx2Upper abscissa value
Realy1Lower ordinate value
Realy2Upper ordinate value
Realy1dLower gradient
Realy2dUpper gradient

Outputs

TypeNameDefaultDescription
RealyInterpolated ordinate value

Revisions

  • September 27, 2011 by Michael Wetter:
    First implementation.