functionderivative
Derivative of polynomial
Information
Syntax
der_p = Polynomial.derivative(p);
Description
Define a polynomial der_p being a first partial derivative of
the polynomial p.
Example
import Modelica_LinearSystems2.Math.Polynomial; x = Polynomial.x(); p1 = -6*x^2 + 4*x -3; der_p = Polynomial.derivative(p1); // -12*x + 4
See also
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Polynomial | p |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Polynomial | der_p | Derivative of Polynomial p |