This package uses local and asymptotic expansions of the Bessel function
to a user-specified tolerance
A minimal demo is as follows:
using FastHankelTransform
# order and tolerance
nu = 0
tol = 1e-12
# frequencies w_k at which to evaluate the transform
ws = 10 .^ range(-2, 2, 100_000)
# source locations r_k and strengths c_k
rs = rand(10_000)
cs = randn(10_000)
# compute NUFHT
gs = nufht(nu, rs, cs, ws; tol=tol)
See the example
directory for more detailed, heavily commented demos.