fn
bessel_j0
→Tensorbessel_j0(x: Tensor)Bessel function of the first kind, order 0.
Computes , the regular-at-origin solution of Bessel's equation for order 0. Appears throughout wave propagation, optical diffraction (the Airy disk profile), and vibration of circular membranes.
Parameters
xTensorInput tensor; any floating-point dtype.
Returns
Tensor element-wise, same shape and dtype as x.
Notes
Series representation:
The implementation uses the Abramowitz & Stegun §9.4 two-branch
polynomial fit: a power series in for
and an asymptotic
form for
. Accuracy is on the real
line. J_0 is even, , and the function decays
as for large x.
Examples
>>> import lucid
>>> from lucid.special import bessel_j0
>>> bessel_j0(lucid.tensor([0.0, 1.0, 2.4048, 5.0]))
Tensor([1.0000, 0.7652, 0.0000, -0.1776])