functionpolynomial

Polynomial function

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function computes a polynomial of arbitrary order. The polynomial has the form

y = a1 + a2 x + a3 x2 + ...

Inputs

TypeNameDefaultDescription
RealxIndependent variable
Real[:]aCoefficients

Outputs

TypeNameDefaultDescription
RealyResult

Revisions

  • December 14, 2016, by Michael Wetter:
    Removed derivative annotation.
    This is for issue 602.
  • March 30, 2011, by Michael Wetter:
    Added zeroDerivative keyword.
  • March 2, by Michael Wetter:
    Removed redundant smoothOrder annotation.
  • February 29, 2009 by Michael Wetter:
    First implementation.