Iterative Adaptive Simpson and Lobatto Quadrature

Iterative Adaptive Simpson and Lobatto Quadrature

Al momento, stai seguendo questo contributo

In almost every standard book on numerics quadrature algorithms like the adaptive Simpson or the adaptive Lobatto algorithm are presented in a recursive way. The benefit of the recursive programming is the compact and clear representation. However, recursive quadrature algorithms might be transformed into iterative quadrature algorithms without major modifications in the structure of the algorithm.

We present iterative adaptive quadrature algorithm (adaptiveSimpson and adaptiveLobatto), which preserves the compactness and the clarity of the recursive algorithms (e.g. quad, quadv, and quadl). Our iterative algorithm provides a parallel calculation of the integration function, which leads to tremendous gain in run-time, in general. Our results suggest a general iterative and not a recursive implementation of adaptive quadrature formulas, once the programming language permits parallel access to the integration function.

Cita come

Matthias Chung (2026). Iterative Adaptive Simpson and Lobatto Quadrature (https://it.mathworks.com/matlabcentral/fileexchange/21013-iterative-adaptive-simpson-and-lobatto-quadrature), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

Ispirato: integral2_adapt(f,varargin)

Categorie

Scopri di più su Numerical Integration and Differential Equations in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.1.0.0

minor changes in comments

1.0.0.0

minor correction and requested comments on the code