.Modelica.Math.Polynomials.evaluateWithRange

Information

Evaluate polynomial at a given abscissa value with linear extrapolation outside of the defined range

Interface

function evaluateWithRange
  extends Modelica.Icons.Function;
  input Real p[:] "Polynomial coefficients (p[1] is coefficient of highest power)";
  input Real uMin "Polynomial valid in the range uMin .. uMax";
  input Real uMax "Polynomial valid in the range uMin .. uMax";
  input Real u "Abscissa value";
  output Real y "Value of polynomial at u. Outside of uMin,uMax, linear extrapolation is used";
end evaluateWithRange;

Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos