acosh#

rbc.stdlib.elementwise_functions.acosh(x)#

Calculates an implementation-dependent approximation to the inverse hyperbolic cosine for each element x_i of the input array x.

Examples

>>> from rbc.stdlib import array_api
>>> @heavydb('double[](double[])')
... def array_api_acosh(arr):
...     return array_api.acosh(arr)
>>> array_api_acosh([np.e, 10.0, 1.0]).execute()
array([1.6574545, 2.993223 , 0.       ], dtype=float32)

Array-API ‘acosh’ doc