Skip to content

Math.Tan

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

This shard calculates the tangent of the given input, where the input is the angle in radians.

Examples

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

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