.Modelica.Math.Polynomials

Library of functions operating on polynomials (including polynomial fitting)

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 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
 roots Compute zeros of a polynomial where the highest coefficient is assumed as not to be zero

Revisions


Generated at 2026-04-07T18:18:28Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos