.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 2024-05-18T18:16:21Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos