3.428. __nv_y1

double @__nv_y1(double %x)

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

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

  • __nv_y1(0) returns \(-\infty\).

  • __nv_y1(x) returns NaN for x < 0.

  • __nv_y1( \(+\infty\) ) returns +0.

  • __nv_y1(NaN) returns NaN.