Skip to content

Math.Cosh

Name Mandatory Description Default Type
⬅️ Input The input float or sequence of floats to calculate the hyperbolic cosine of. FloatFloat2Float3Float4Color[Any]
Output ➡️ Outputs the hyperbolic cosine of the input. FloatFloat2Float3Float4Color[Any]

This shard calculates the hyperbolic cosine of the given input, where the input is the real number. The hyperbolic cosine is a hyperbolic function that is analogous to the circular cosine function, but it uses exponential functions instead of angles.

Examples

1
2
3
@f3(-1.0 0.0 1.0) | Math.Cosh | Log
Math.Subtract(@f3(1.5430806 1.0 1.5430806)) | Math.Abs
IsLess(@f3(0.00001 0.00001 0.00001)) | Assert.Is(true Break: true)

[info] [sample-wire] @f3(1.54308 1 1.54308)