functionpolynomial
Polynomial function
Extends from Modelica.Icons.Function (Icon for functions).
Information
This function computes a polynomial of arbitrary order. The polynomial has the formy = a1 + a2 x + a3 x2 + ...
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | Independent variable | |
| Real[:] | a | Coefficients |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | Result |
Revisions
-
December 14, 2016, by Michael Wetter:
Removed derivative annotation.
This is for issue 602. -
March 30, 2011, by Michael Wetter:
AddedzeroDerivativekeyword. -
March 2, by Michael Wetter:
Removed redundantsmoothOrderannotation. -
February 29, 2009 by Michael Wetter:
First implementation.