pymiediff.special.chi_torch

Contents

pymiediff.special.chi_torch#

pymiediff.special.chi_torch(n: Tensor, z: Tensor, **kwargs)#

Torch-native Riccati-Bessel chi_n and derivative.

Parameters:
  • n (int or torch.Tensor) – Maximum order.

  • z (torch.Tensor) – Complex argument(s).

Returns:

(chi_n, dchi_n_dz) for orders 0..n.

Return type:

tuple of torch.Tensor