Function torch::special::spherical_bessel_j0#
Defined in File special.h
Function Documentation#
-
inline Tensor torch::special::spherical_bessel_j0(const Tensor &x)#
Spherical Bessel function of the first kind of order 0.
See https://pytorch.org/docs/main/special.html#torch.special.spherical_bessel_j0.
Example:
auto x = torch::randn(128, dtype=kDouble); torch::special::spherical_bessel_j0(x);