.Physiolibrary.Blocks.Interpolation.Spline

Cubic spline interpolation function

Interface

function Spline
  input Real[:] x "x coordinations of interpolating points";
  input Real[:, 4] a "cubic polynom coefficients of curve segments between interpolating points";
  input Real xVal "input value of x to calculate y value";
  output Real yVal "y value at xVal";
end Spline;

Revisions

author: Ondrej Vacek


Generated at 2025-07-14T18:21:07Z by OpenModelicaOpenModelica 1.25.1 using GenerateDoc.mos