Bessel function of the first kind, order 1.
Computes , the regular order-one solution of Bessel's equation. Closely related to by ; appears as the radial derivative of cylindrical waves and in the antenna-pattern of a uniformly illuminated circular aperture.
Parameters
Input tensor; any floating-point dtype.
Returns
Tensor element-wise, same shape and dtype as x.
Notes
Series representation:
Implementation: Abramowitz & Stegun §9.4 two-branch polynomial,
accurate to . J_1 is odd,
, with maximum at
.
Examples
>>> import lucid
>>> from lucid.special import bessel_j1
>>> bessel_j1(lucid.tensor([0.0, 1.0, 5.0]))
tensor([0., 0.4401, -0.3276])
>>> bool(bessel_j1(lucid.tensor(3.8317)).abs() < 1e-4) # the first zero
True