content/flux/v0/stdlib/math/cosh.md
math.cosh() returns the hyperbolic cosine of x.
(x: float) => float
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
({{< req >}}) Value to operate on.
import "math"
import "sampledata"
sampledata.float()
|> map(fn: (r) => ({_time: r._time, _value: math.cosh(x: r._value)}))