tan_rad
tan_rad(angle: float64) -> float64
Computes the tangent of the input and returns a float64. The input should be expressed in radians.
Arguments
- 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
| angle | tan |
|---|---|
| 0 | 0 |
| π / 6 | √3/3 |
| π / 4 | 1 |
| π / 3 | √3 |
| π | 0 |
| 2π | 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.
Updated 8 days ago