Returns the result y of a quintic Hermite spline,
which is a C2 continuous interpolation between two functions.
The abscissa value x
has to be between x1
and x2
.
Variables y1
, y1d
, y1dd
are the ordinate,
ordinate derivative and ordinate second derivative of the function at x1
.
Variables y2
, y2d
, y2dd
are respectively the ordinate,
ordinate derivative and ordinate second derivative of the function at x2
.
function quinticHermite extends Modelica.Icons.Function; input Real x "Abscissa value"; input Real x1 "Lower abscissa value"; input Real x2 "Upper abscissa value"; input Real y1 "Lower ordinate value"; input Real y2 "Upper ordinate value"; input Real y1d "Lower derivative"; input Real y2d "Upper derivative"; input Real y1dd "Lower second derivative"; input Real y2dd "Upper second derivative"; output Real y "Interpolated ordinate value"; end quinticHermite;