.IDEAS.Utilities.Math.Functions.quinticHermite

Information

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.

Interface

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;

Revisions


Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos