.Modelica.Math.Special.Internal.polyEval

Information

Evaluate a polynomial using Horner's scheme.

Interface

function polyEval
  extends Modelica.Icons.Function;
  input Real c[:] "Polynomial coefficients";
  input Real u "Abscissa value";
  output Real y "= c[1] + u*(c[2] + u*(c[3] + u*(c[4]*u^3 + ...)))";
end polyEval;

Revisions

Date Description
June 22, 2015
DLR logo Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter.
DLR Institute of System Dynamics and Control

Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f