arcsin_rad(input: float64) -> float64

Computes the arc sine of the input. The result is a float64, specified in radians, in the range [-$\pi$/2, $\pi$/2]

Arguments

  1. input (required) Ratio to find the arc sine of, float64. Must be in the range [-1, 1], otherwise the function returns null.

Domain

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

Categories

Examples

make_col arcsin:arcsin_rad(ratio)

Create a column 'arcsin' with the result of the arc sine of column 'ratio'
The resulting column will be in radians.

Given the below column ratio, arcsin_rad produces the below column arcsin
Ratio should be a floating point number and in the range [-1, 1]. Any inputs outside this range have the result null.

ratioarcsin
-2null
-1-π / 2
-1/2-π / 6
00
1/2π / 6
1π / 2
2null