quadratureLobattoReturn the integral of an integrand function using an adaptive Lobatto rule |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
quadratureLobatto(function f(), a, b); quadratureLobatto(function f(), a, b, tolerance=100*Modelica.Constants.eps);
Compute definite integral over function f(u,...) from u=a up to u=b using the adaptive Lobatto rule according to:
- Walter Gander:
- Adaptive Quadrature - Revisited. 1998. ftp://ftp.inf.ethz.ch/pub/publications/tech-reports/3xx/306.ps
See the examples in Modelica.Math.Nonlinear.Examples.
f |
Type: partialScalarFunction Description: Integrand function |
---|---|
a |
Type: Real Description: Lower limit of integration interval |
b |
Type: Real Description: Upper limit of integration interval |
tolerance |
Default Value: 100 * Modelica.Constants.eps Type: Real Description: Relative tolerance for integral value |
integral |
Type: Real Description: Integral value |
---|