.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-03-09T19:25:01Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos