packagePolynomials_Temp
Temporary Functions operating on polynomials (including polynomial fitting); only to be used in Modelica.Media.Incompressible.TableBased
Extends from Modelica.Icons.Package (Icon for standard packages).
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-2016, Modelica Association and DLR.
This package is free software. It can be redistributed and/or modified under the terms of the Modelica license, see the license conditions and the accompanying disclaimer in the documentation of package Modelica in file "Modelica/package.mo".
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 |
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