.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 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos