functionfromVector
Generate a Polynomial data record from a vector of coefficients
Information
This function constructs a polynomial from given coefficients.
Example:
import Modelica_LinearSystems2.Math.Polynomial;
Polynomial( {1/4, 8, 0, 0, 2} );
// 0.25*x^4 + 8*x^3 + 2
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | c | Coefficients of polynomial in descending order |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Polynomial | p | Polynomial |