Efficient Calculation of Modified Bessel Functions of the First Kind, $I_ν (z)$, for Real Orders and Complex Arguments: Fortran Implementation with Double and Quadruple Precision

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zaghloul, Mofreh R., Johnson, Steven G.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916737364000768
author Zaghloul, Mofreh R.
Johnson, Steven G.
author_facet Zaghloul, Mofreh R.
Johnson, Steven G.
contents We present an efficient self-contained algorithm for computing the modified Bessel function of the first kind $I_ν(z)$, implemented in a robust Fortran code supporting double and quadruple (quad) precision. The algorithm overcomes the limitations of Algorithm 644, which is restricted to double precision and applies overly conservative underflow and overflow thresholds, leading to failures in large parameter regions. Accuracy is validated against high-precision Maple calculations, and benchmarking shows execution time reductions to 54%-80% of Algorithm 644 (in double precision). Quad precision enhances numerical stability and broadens the domain of computations, making the implementation well suited for high-precision applications in physics and engineering. This work also provides a foundation for the development of efficient algorithms for other Bessel functions.
format Preprint
id arxiv_https___arxiv_org_abs_2505_09770
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Efficient Calculation of Modified Bessel Functions of the First Kind, $I_ν (z)$, for Real Orders and Complex Arguments: Fortran Implementation with Double and Quadruple Precision
Zaghloul, Mofreh R.
Johnson, Steven G.
Numerical Analysis
We present an efficient self-contained algorithm for computing the modified Bessel function of the first kind $I_ν(z)$, implemented in a robust Fortran code supporting double and quadruple (quad) precision. The algorithm overcomes the limitations of Algorithm 644, which is restricted to double precision and applies overly conservative underflow and overflow thresholds, leading to failures in large parameter regions. Accuracy is validated against high-precision Maple calculations, and benchmarking shows execution time reductions to 54%-80% of Algorithm 644 (in double precision). Quad precision enhances numerical stability and broadens the domain of computations, making the implementation well suited for high-precision applications in physics and engineering. This work also provides a foundation for the development of efficient algorithms for other Bessel functions.
title Efficient Calculation of Modified Bessel Functions of the First Kind, $I_ν (z)$, for Real Orders and Complex Arguments: Fortran Implementation with Double and Quadruple Precision
topic Numerical Analysis
url https://arxiv.org/abs/2505.09770