math.sinh() 函数
math.sinh() 返回 x 的双曲正弦值。
函数类型签名
(x: float) => float
有关更多信息,请参见 Function type signatures。
参数
x
(必填) 要操作的值。
示例
返回值的双曲正弦
import "math"
math.sinh(x: 1.23)// 1.564468479304407
在map中使用math.sinh
import "math"
import "sampledata"
sampledata.float()
|> map(fn: (r) => ({r with _value: math.sinh(x: r._value)}))