go math.J0()
math.J0()方法语法
func J0(x float64) float64
go源码对J0()方法的介绍:
J0 returns the order-zero Bessel function of the first kind.
Special cases are:
J0(±Inf) = 0
J0(0) = 1
J0(NaN) = NaN
golang math.J0()方法,返回float64类型参数x的第一类贝塞尔函数,0阶。除此之外,J0(±Inf) = 0;J0(0) = 1;J0(NaN) = NaN。
math.J0()方法实例代码
func main() {
j0 := math.J0(1.2)
fmt.Println(j0)
}
运行go文件,得到输出:
0.6711327442643628