3.207. __nv_j0

double @__nv_j0(double %x)

Calculate the value of the Bessel function of the first kind of order 0 for the input argument.

Calculate the value of the Bessel function of the first kind of order 0 for the input argument x, \(J_0(x)\).

Note

For accuracy information, see the CUDA C++ Programming Guide, Mathematical Functions Appendix, Double-Precision Floating-Point Functions section.

Returns

Returns the value of the Bessel function of the first kind of order 0.

  • __nv_j0( \(\pm \infty\) ) returns +0.

  • __nv_j0(NaN) returns NaN.