arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.09770math.NAcs.NA
收藏

实阶复自变量贝塞尔函数的高效多精度计算及Fortran实现——第一部分:第一类修正贝塞尔函数 $I_\ u(z)$

Efficient Multi-Precision Computation of Bessel Functions for Real Orders and Complex Arguments with Fortran Implementation -- Part I: The Modified Bessel Function of the First Kind, $I_ν(z)$

United Arab Emirates University(阿联酋大学);Massachusetts Institute of Technology(麻省理工学院)

Mofreh R. Zaghloul, Steven G. Johnson

AI总结:

提出一种高效、高精度的多精度算法计算第一类修正贝塞尔函数 $I_\ u(z)$,适用于任意实数阶 $\ u$(包括负阶)和复数自变量 $z$,并给出Fortran实现,精度和效率优于AMOS等现有库。

摘要:

本文是系列论文的第一篇,致力于开发高效且高精度的算法,并配有任意精度Fortran实现,用于计算贝塞尔函数。在第一部分中,我们提出了一种新颖、自包含、高效且多精度的算法,用于评估第一类修正贝塞尔函数 $I_{\ u}(z)$。该方法整合了 $I_{\ u}(z)$ 的几种解析表示,精心选择以确保高精度和适合高精度计算,并确定了计算区域之间的最优过渡边界。这种设计在完全保持数值精度的同时实现了高效率。与其他广泛使用的算法和库(如AMOS、Boost和GSL)不同,这些算法要么拒绝负阶 $\ u$,要么依赖于仅适用于整数阶的特殊对称性,本算法为评估任意实数阶(包括 $\ u < 0$)和复数自变量 $z$ 的 $I_{\ u}(z)$ 提供了稳定方法。开发的稳健Fortran实现支持双精度和原生四精度算术。四精度的可用性进一步增强了数值稳定性,将可靠计算域在 $(\ u, |z|)$ 的每个方向上扩展了大约一个数量级,并实现了超过26位有效数字的精度。这一进步大大拓宽了该方法在科学和工程中高精度问题上的适用性。与仅限于双精度的AMOS(算法644)相比,本算法表现出更高的精度和效率,基准测试表明,在双精度下执行时间降至AMOS的38%至71%。

英文摘要:

This paper is the first in a series devoted to the development of efficient and highly accurate algorithms, with multiprecision \texttt{Fortran} implementations, for the computation of Bessel functions. In this first part, we present a \emph{novel, self-contained, efficient,} and \emph{multiprecision} algorithm for evaluating the modified Bessel function of the first kind, $I_ν(z)$. The method integrates several analytic representations of $I_ν(z)$, carefully selected to ensure both high accuracy and suitability for high-precision computation, together with optimally determined transition boundaries between computational regions. This design achieves high efficiency while fully preserving numerical accuracy. Unlike other widely used algorithms and libraries, such as AMOS, Boost, and GSL, which either reject negative orders $ν$ or rely on special-case symmetries valid only for integer orders, the present algorithm provides a stable approach for evaluating $I_ν(z)$ for arbitrary real orders, including $ν< 0$, and complex arguments $z$. The developed robust \texttt{Fortran} implementation provides support for both double and native quadruple-precision arithmetic. The availability of quadruple precision further enhances numerical stability, extends the reliable computational domain in $(ν, |z|)$ by approximately an order of magnitude in each direction, and enables accuracies exceeding 26 significant digits. This advancement substantially broadens the applicability of the method to demanding high-precision problems in science and engineering. Compared to AMOS (Algorithm~644), which is restricted to double precision, the present algorithm exhibits superior accuracy and efficiency, with benchmark tests demonstrating execution times reduced to 38--71\% of those of AMOS in double precision.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑