math.erfc() 函数
math.erfc() 返回 x 的互补误差函数。
函数类型签名
(x: float) => float
有关更多信息,请参见 Function type signatures。
参数
x
(必填) 要操作的值。
示例
返回一个值的互补误差函数
import "math"
math.erfc(x: 22.6)// 3.772618913849058e-224
在map中使用math.erfc
import "math"
import "sampledata"
sampledata.float()
|> map(fn: (r) => ({r with _value: math.erfc(x: r._value)}))