atanh#
- rbc.stdlib.elementwise_functions.atanh(x)#
Calculates an implementation-dependent approximation to the inverse hyperbolic tangent, having domain [-1, +1] and codomain [-infinity, +infinity], for each element x_i of the input array x.
Examples
>>> from rbc.stdlib import array_api >>> @heavydb('double[](double[])') ... def array_api_atanh(x): ... return array_api.atanh(x) >>> array_api_atanh([0, -0.5]).execute() array([ 0. , -0.54930615], dtype=float32)