Fast and accurate numerical evaluation of Meijer G-functions at near and exact confluence via log-ratio jets
Abstract
Slater residue expansions provide a fast route to numerical Meijer -function evaluation, but become singular or severely ill-conditioned when active pole families coincide or nearly coincide, even though the underlying function remains finite. We introduce coefficient-level log-ratio jets, which pair the nearly cancelling residue terms and evaluate their combined contribution without the cancellation amplification of the separated expansion. The resulting method has a continuous exact-confluence limit matching the corresponding Laurent residue and extends to isolated pole clusters of arbitrary multiplicity. We prove first-order convergence to the confluent limit and preservation of the Slater tail rate, and show that, under a standard accuracy model for the underlying primitives, the pole-spacing-dependent error amplification is removed in the supported unbalanced lower and upper regimes. Away from the convergent regime of a residue series, cancellation between the summed terms causes a second loss of accuracy that can persist at exact confluence. We certify it a posteriori through a series-level condition number and, where it is large, re-evaluate the residue series in double-double arithmetic, which restores near-machine precision at a small multiple of the Float64 cost and without arbitrary-precision arithmetic. Float64 experiments across both expansions, integer pole shifts, and multiplicities attain near-machine precision where raw Slater loses accuracy or becomes nonfinite. For pairs, the wall times are comparable to the ordinary Slater fast path and far below arbitrary-precision evaluation. The method is implemented in the open-source Julia package MeijerG.jl.
Create a lesson
Metadata
- Categories
- math.NA, cs.MS, cs.NA
- Comments
- 54 pages, 15 figures. Code: MeijerG.jl v0.2.2, https://github.com/TSGut/MeijerG.jl (doi:10.5281/zenodo.24590102)
Related papers
Numerical differentiation of functions on the real line using Hermite polynomials
Shared title terminologymath.NAM. Kyselov, S. G. Solodky
Regularized Learning for Partial Differential Equations by Nonlinear-Functional Data
Shared title terminologymath.NAQi Ye
A convergent Galerkin--Newton method for numerical bilinear Schrödinger control
Shared title terminologymath.NARoberto de A. Capistrano Filho, Pitágoras P. de Carvalho, Jefferson Herriques Bezerra
RePAlg: REcover Polynomial completeness ALGorithm for arbitrary polytopal basis functions
Shared title terminologymath.NAStefano Berrone, Claudio Canuto, Moreno Pintore et al.
Fast quadrature of neural networks via #SAT
Shared title terminologymath.NAMichael Feischl, Benedikt Gräßle, Fabian Zehetgruber
C^1-smooth isogeometric spline functions of general degree over mixed triangular and quadrilateral surface meshes
Shared title terminologymath.NAJan Grošelj, Mario Kapl, Marjeta Knez et al.