Skip to content

Math.Atanh

Name Mandatory Description Default Type
⬅️ Input The input float or sequence of floats to calculate the inverse hyperbolic tangent of. FloatFloat2Float3Float4Color[Any]
Output ➡️ Outputs the real number whose hyperbolic tangent is the input value. FloatFloat2Float3Float4Color[Any]

This shard calculates the inverse hyperbolic tangent of the given input (atanh(x)), where x, outputs y such that tanh(y) = x.

Examples

1
2
3
@f3(-0.5 0.0 0.5) | Math.Atanh | Log
Math.Subtract(@f3(-0.54930614 0.0 0.54930614)) | Math.Abs
IsLess(@f3(0.00001 0.00001 0.00001)) | Assert.Is(true Break: true)

[info] [sample-wire] @f3(-0.549306 0 0.549306)