fn
bessel_j1
→Tensorbessel_j1(x: Tensor)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
xTensorInput 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, 3.8317]))
Tensor([0.0000, 0.4401, 0.0000])