Iterative Adaptive Simpson and Lobatto Quadrature

版本 1.1.0.0 (5.6 KB) 作者: Matthias Chung
Iterative Adaptive Simpson and Lobatto Quadrature
2.4K 次下载
更新时间 2008/12/1

查看许可证

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.

引用格式

Matthias Chung (2024). Iterative Adaptive Simpson and Lobatto Quadrature (https://www.mathworks.com/matlabcentral/fileexchange/21013-iterative-adaptive-simpson-and-lobatto-quadrature), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Numerical Integration and Differential Equations 的更多信息
致谢

启发作品: integral2_adapt(f,varargin)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

minor changes in comments

1.0.0.0

minor correction and requested comments on the code