tan_rad(angle: float64) -> float64

Computes the tangent of the input and returns a float64. The input should be expressed in radians.

Arguments

  1. angle (required) Angle in radians, a float64

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

make_col tan:tan_rad(angle)

Create a column 'tan' with the result of the tangent of column 'angle'
The resulting column will be in radians.

Given the below column angle, tan_rad produces the below column tan

angletan
00
π / 6√3/3
π / 41
π / 3√3
π0
0
make_col tan_pi:tan_rad(pi())

Create a column 'tan_pi' with the result of the tangent of pi. tan_pi will be 0.