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.

Details

Cosh is not a periodic function. It does not repeat its values.

Cosh is unbounded and can grow to infinity as the input value grows.

If a sequence of floats was provided as input, the shard will calculate the hyperbolic cosine of each element in the sequence and output a sequence.

If a sequence of vectors was provided as input, the shard will calculate the hyperbolic cosine of each component in each vector in the sequence and output a sequence of vectors where each component in each vector is the hyperbolic cosine of the corresponding component in the input sequence.

Examples

1
2
3
4
5
@f3(-1.0 0.0 1.0)
Math.Cosh | Log

Math.Subtract(@f3(1.5430806 1.0 1.5430806)) | Math.Abs
Log