Math.Tan¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input float or sequence of floats to calculate the tangent of. | Float Float2 Float3 Float4 Color [Any] |
||
Output ➡️ |
Outputs the tangent of the input. | Float Float2 Float3 Float4 Color [Any] |
This shard calculates the tangent of the given input, where the input is the angle in radians.
Details¶
If the input value is negative, the shard will interpret them as angles measured clockwise from the positive x-axis.
Tan is a periodic function where the value repeats every 2π.
Tan is unbounded but has periodic discontinuities.
If a sequence of floats was provided as input, the shard will calculate the tanget of each element in the sequence and output a sequence.
If a sequence of vectors was provided as input, the shard will calculate the tangent of each component in each vector in the sequence and output a sequence of vectors where each component in each vector is the tangent of the corresponding component in the input sequence.
Examples¶
1 2 3 |
|
[info] [sample-wire] @f3(-1.55741 0 1.55741)