.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-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos