hankel1#

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

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

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

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

  • x (torch.Tensor) – Input tensor.

Returns:

Complex tensor representing \(H_1(n, x)\).

Return type:

Tensor