go math.Y0()

math.Y0()方法语法

func Y0(x float64) float64

go源码对Y0()方法的介绍:

Y0 returns the order-zero Bessel function of the second kind.

Special cases are:

Y0(+Inf) = 0
Y0(0) = -Inf
Y0(x < 0) = NaN
Y0(NaN) = NaN

golang标准库math.Y0()方法,返回x的0阶的第二类贝塞尔函数。除此之外,Y0(+Inf) = 0;Y0(0) = -Inf;Y0(x < 0) = NaN;Y0(NaN) = NaN。


math.Y0()方法实例代码

func main() {
	y0 := math.Y0(1.3)
	fmt.Println(y0)
}

运行go文件,得到输出:

0.2865353571655701

全栈后端 / go语法 :













Copyright © 2022-2024 笨鸟工具 x1y1z1.com All Rights Reserved.