.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 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f