arctan_deg¶
Description¶
Computes the arc tangent of the input. The result is a float64, specified in degrees, in the range [-90, 90]
Arguments
input (required) Ratio to find the arc tangent of, float64.
Return type¶
float64
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
arctan_deg(input)
Argument |
Type |
Optional |
Repeatable |
Restrictions |
---|---|---|---|---|
input |
float64 |
no |
no |
none |
Examples¶
make_col arctan:arctan_deg(ratio)
Create a column ‘arctan’ with the result of the arc tangent of column ‘ratio’
The resulting column will be in degrees.
Given the below column ratio
, arctan_deg
produces the below column arctan
ratio |
arctan |
---|---|
-∞ |
-90 |
-√3 |
-60 |
-1 |
-45 |
0 |
0 |
1 |
45 |
√3 |
60 |
∞ |
90 |