go math.J1()
math.J1()方法语法
func J1(x float64) float64
go源码对J1()方法的介绍:
J1 returns the order-one Bessel function of the first kind.
Special cases are:
J1(±Inf) = 0
J1(NaN) = NaN
golang标准库模块math.J1()方法,返回x的第一类贝塞尔函数,1阶。除此之外,J1(±Inf) = 0;J1(NaN) = NaN。
math.J1()方法实例代码
func main() {
var j1 float64 = math.J1(0.2)
fmt.Println(j1)
}
运行go文件,得到输出:
0.099500832639236