3.197. __nv_jn

原型:

double @__nv_jn(i32 %n, double %x) 

描述:

计算第一类贝塞尔函数在阶数n下对输入参数x的值, J n ( x )

返回:

Returns the value of the Bessel function of the first kind of order n.
  • __nv_jn(n, NaN) 返回 NaN。

  • __nv_jn(n, x) 当 n < 0 时返回 NaN。

  • __nv_jn(n, + ) 返回 +0。

Note:

有关精度信息,请参阅CUDA C++编程指南中的数学函数附录,双精度浮点函数部分。

库可用性:

计算能力2.0:支持

计算能力3.0:支持

计算能力3.5:支持