A Fast Analysis-Based Discrete Hankel Transform Using Asymptotic Expansions

Alex Townsend

Abstract

This paper introduces a fast and numerically stable algorithm for computing the Discrete Hankel Transform (DHT) of order 0, as well as Schlömilch and Fourier–Bessel expansions. By leveraging the asymptotic behavior of Bessel functions and the Fast Fourier Transform (FFT), the algorithm achieves a near-optimal computational complexity of $O(N(\log N)^2 / \log \log N)$, significantly outperforming the naive $O(N^2)$ approach for large-scale problems.

Introduction

The Hankel transform is a fundamental tool in optics, medical imaging, and electromagnetics, representing the two-dimensional Fourier transform of a radially symmetric function. Unlike the standard Fourier transform, which benefits from the ubiquitous FFT, the Discrete Hankel Transform (DHT) has historically been difficult to accelerate due to the complex properties of its Bessel function kernels. Townsend presents an "analysis-based" approach derived directly from the mathematical properties of Bessel functions that is fast, stable, and requires no prior setup or expensive precomputation.

Methodology

The algorithm's efficiency and stability are built upon three core mathematical strategies designed to bypass the limitations of traditional Bessel function kernels.

Asymptotic Expansions and Error-Driven Partitioning

For large arguments $z$, Bessel functions $J_\nu(z)$ behave like decaying trigonometric functions. The method uses a $2M$-term asymptotic expansion to express the Bessel function as a weighted sum of sines and cosines, allowing the "far-field" portion of the transform to be computed using the $O(N \log N)$ Discrete Cosine and Sine Transforms.

Because these expansions are unstable for small arguments, the algorithm partitions the transform matrix. It uses the fast asymptotic method for the far-field and direct summation for the near-field. Rigorous error bounds are used to determine the exact "switch-over" point to maintain user-defined accuracy ($\epsilon$).

Error of the asymptotic expansion $|R_{0,M}(z)|$ vs $z$ (left) and $|R_{\nu,M}(10)|$ vs $M$ (right).

Neumann Addition Formula

To handle Fourier–Bessel expansions and the DHT—where evaluation points are roots of Bessel functions rather than an equally spaced grid—the author uses the Neumann addition formula. This treats the Bessel roots as "perturbed" versions of a uniform grid, mapping the non-uniform problem back onto a grid compatible with the FFT.

Results and Performance

The algorithm was evaluated using synthetic coefficient vectors and benchmarked against ground truth values computed via quadruple-precision direct summation. It achieves a complexity of $O(N(\log N)^2 / \log \log N)$ and becomes faster than direct $O(N^2)$ summation at relatively small $N$: $N > 100$ for Schlömilch expansions and $N > 6,000$ for the DHT. Numerical stability is maintained down to $10^{-15}$ in double precision.

The selection of algorithmic parameters, such as the partitioning thresholds $s_{\nu,M}$, is automated based on the desired precision. As shown in the table below, these thresholds vary with the order $\nu$ and the number of expansion terms $M$.

Partitioning thresholds $s_{\nu,M}$ used to determine the switch-over point between direct summation and asymptotic expansion.

Conclusion

Townsend’s analysis-based approach provides a robust framework for accelerating the DHT without the need for expensive precomputation. While performance currently degrades for very high-order transforms due to the increasing irregularity of Bessel roots, the method offers a near-optimal solution for many practical applications in radially symmetric systems. Future work may focus on optimizing the transition region where $z \approx \nu$ and implementing the algorithm in low-level languages to further reduce crossover points.

Summary updated

BibTeX
@article{townsend2015fast,
  author = {Alex Townsend},
  title = {{A Fast Analysis-Based Discrete Hankel Transform Using Asymptotic Expansions}},
  journal = {SIAM J. Numer. Anal.},
  year = {2015},
  doi = {10.1137/151003106},
}
Figure