arctan_rad
arctan_rad(input: float64) -> float64
Computes the arc tangent of the input. The result is a float64, specified in degrees, in the range [-$\pi$/2, $\pi$/2]
Arguments
- input (required) Ratio to find the arc tangent of, float64.
Domain
This is a scalar function (calculates a single output value for a single input row).
Categories
Examples
make_col arctan:arctan_rad(ratio)
Create a column 'arctan' with the result of the arc tangent of column 'ratio'
The resulting column will be in radians.
Given the below column ratio, arctan_rad produces the below column arctan.
| ratio | arctan |
|---|---|
| -∞ | -π / 2 |
| -√3 | -π / 3 |
| -1 | -π / 4 |
| 0 | 0 |
| 1 | π / 4 |
| -√3 | π / 3 |
| ∞ | π / 2 |
Updated 8 days ago