3.209. __nv_j1

double @__nv_j1(double %x)

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

Calculate the value of the Bessel function of the first kind of order 1 for the input argument x, \(J_1(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 1.

  • __nv_j1( \(\pm 0\) ) returns \(\pm 0\).

  • __nv_j1( \(\pm \infty\) ) returns \(\pm 0\).

  • __nv_j1(NaN) returns NaN.