.Physiolibrary.Blocks.Interpolation.SplineCoefficients

Cubic spline interpolation coefficients

Interface

function SplineCoefficients
  input Real[:] x "x coordinations of interpolating points";
  input Real[:] y "y coordinations of interpolating points";
  input Real[:] slope "slopes at interpolating points";
  output Real[size(x, 1) + 1, 4] a "cubic polynom coefficients of curve segments between interpolating points";
end SplineCoefficients;

Revisions

author: Ondrej Vacek


Generated at 2025-03-09T19:25:01Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos