asin#
- rbc.stdlib.elementwise_functions.asin(x)#
Calculates an implementation-dependent approximation of the principal value of the inverse sine for each element x_i of the input array x.
Examples
>>> from rbc.stdlib import array_api >>> @heavydb('double[](double[])') ... def array_api_asin(arr): ... return array_api.asin(arr) >>> array_api_asin([1.0, 0.0, -1.0]).execute() array([ 1.5707964, 0. , -1.5707964], dtype=float32)