bessel_j#

deepinv.physics.functional.bessel_j(n, x)[source]#

Computes the Bessel function of the first kind \(J_v(n, x)\) for order \(n\) and input \(x\).

Uses native Torch if available, otherwise falls back to SciPy.

Parameters:
  • n (int) – Order of the Bessel function.

  • x (torch.Tensor) – Input tensor.

Returns:

Tensor representing \(J_v(n, x)\).

Return type:

Tensor