Calculate the tangent of each element in an array (angle in radians).
> tan([0, Math.PI / 4])[0, 1] Copy
> tan([0, Math.PI / 4])[0, 1]
The array of numbers representing angles in radians.
An array with the tangent of each input element.
Calculate the tangent of each element in an array (angle in radians).
Example