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".
Name | Description |
---|---|
evaluate | Evaluate polynomial at a given abscissa value |
evaluateWithRange | Evaluate polynomial at a given abscissa value with linear extrapolation outside of the defined range |
derivative | Derivative of polynomial |
derivativeValue | Value of derivative of polynomial at abscissa value u |
secondDerivativeValue | Value of 2nd derivative of polynomial at abscissa value u |
integral | Indefinite integral of polynomial p(u) |
integralValue | Integral of polynomial p(u) from u_low to u_high |
fitting | Computes the coefficients of a polynomial that fits a set of data points in a least-squares sense |
evaluate_der | Evaluate derivative of polynomial at a given abscissa value |
evaluateWithRange_der | Evaluate derivative of polynomial at a given abscissa value with extrapolation outside of the defined range |
integralValue_der | Time derivative of integral of polynomial p(u) from u_low to u_high, assuming only u_high as time-dependent (Leibniz rule) |
derivativeValue_der | Time derivative of derivative of polynomial |