math.erf() 函数
math.erf()
返回 x
的误差函数。
函数类型签名
(x: float) => float
更多信息,请参阅 函数类型签名。
参数
x
(必需) 要操作的值。
示例
返回值的误差函数。
import "math"
math.erf(x: 22.6)// 1.0
在 map 中使用 math.erf
import "math"
import "sampledata"
sampledata.float()
|> map(fn: (r) => ({r with _value: math.erf(x: r._value)}))
此页面对您有帮助吗?
感谢您的反馈!