.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-12-31T19:14:00Z by OpenModelicaOpenModelica 1.26.0 using GenerateDoc.mos