.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
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-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39