WOLFRAM SYSTEM MODELER

polyEval

Evaluate a polynomial c[1] + c[2]*u + c[3]*u^2 + ....

Wolfram Language

In[1]:=
SystemModel["Modelica.Math.Special.Internal.polyEval"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Evaluate a polynomial using Horner's scheme.

Syntax

y = polyEval(c, u)

Inputs (2)

c

Type: Real[:]

Description: Polynomial coefficients

u

Type: Real

Description: Abscissa value

Outputs (1)

y

Type: Real

Description: = c[1] + u*(c[2] + u*(c[3] + u*(c[4]*u^3 + ...)))

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