Multiple precision evaluation of the Airy Ai function with reduced cancellation
read the original abstract
The series expansion at the origin of the Airy function Ai(x) is alternating and hence problematic to evaluate for x > 0 due to cancellation. Based on a method recently proposed by Gawronski, M\"uller, and Reinhard, we exhibit two functions F and G, both with nonnegative Taylor expansions at the origin, such that Ai(x) = G(x)/F(x). The sums are now well-conditioned, but the Taylor coefficients of G turn out to obey an ill-conditioned three-term recurrence. We use the classical Miller algorithm to overcome this issue. We bound all errors and our implementation allows an arbitrary and certified accuracy, that can be used, e.g., for providing correct rounding in arbitrary precision.
This paper has not been read by Pith yet.
Forward citations
Cited by 1 Pith paper
-
Comparison of Numerical Solvers for Differential Equations for Holonomic Gradient Method in Statistics
Compares numerical ODE solvers for the holonomic gradient method applied to statistical normalizing constants.
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.