.Modelica.Math.Nonlinear.quadratureLobatto

Information

Syntax

quadratureLobatto(function f(), a, b);
quadratureLobatto(function f(), a, b, tolerance=100*Modelica.Constants.eps);

Description

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

Example

See the examples in Modelica.Math.Nonlinear.Examples.

Interface

function quadratureLobatto
  extends Modelica.Icons.Function;
  input Modelica.Math.Nonlinear.Interfaces.partialScalarFunction f "Integrand function";
  input Real a "Lower limit of integration interval";
  input Real b "Upper limit of integration interval";
  input Real tolerance = 100 * Modelica.Constants.eps "Relative tolerance for integral value";
  output Real integral "Integral value";
end quadratureLobatto;

Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f