.SystemDynamics.Functions.Utilities.Piecewise

Information

Piecewise linear function

Interface

function Piecewise
  input Real x "Independent variable";
  input Real x_grid[:] "Independent variable data points";
  input Real y_grid[:] "Dependent variable data points";
  output Real y "Interpolated result";
end Piecewise;

Generated at 2025-02-22T19:25:07Z by OpenModelicaOpenModelica 1.24.4 using GenerateDoc.mos