packagePolynomials
Library of functions operating on polynomials (including polynomial fitting)
Extends from Modelica.Icons.FunctionsPackage (Icon for packages containing functions).
Information
This package contains functions to operate on polynomials, in particular to determine the derivative and the integral of a polynomial and to use a polynomial to fit a given set of data points.
Copyright © 2004-2025, Modelica Association and contributors
Contents
| Name | Description |
|---|---|
| Evaluate polynomial at a given abscissa value | |
| Evaluate polynomial at a given abscissa value with linear extrapolation outside of the defined range | |
| Derivative of polynomial | |
| Value of derivative of polynomial at abscissa value u | |
| Value of 2nd derivative of polynomial at abscissa value u | |
| Indefinite integral of polynomial p(u) | |
| Integral of polynomial p(u) from u_low to u_high | |
| Computes the coefficients of a polynomial that fits a set of data points in a least-squares sense | |
| Evaluate derivative of polynomial at a given abscissa value | |
| Evaluate derivative of polynomial at a given abscissa value with extrapolation outside of the defined range | |
| Time derivative of integral of polynomial p(u) from u_low to u_high, assuming only u_high as time-dependent (Leibniz rule) | |
| Time derivative of derivative of polynomial | |
| Compute zeros of a polynomial where the highest coefficient is assumed as not to be zero |
Revisions
- Oct. 22, 2004 by Martin Otter (DLR):
Renamed functions to not have abbreviations.
Based fitting on LAPACK
New function to return the polynomial of an indefinite integral - Sept. 3, 2004 by Jonas Eborn (Scynamics):
polyderval, polyintval added - March 1, 2004 by Martin Otter (DLR):
first version implemented