Inverse hyperbolic cosine.
Verbose alias of acosh. Computes the principal branch
,
defined for real .
Parameters
Input tensor; element-wise values must satisfy
for a real result.
Returns
TensorElement-wise inverse hyperbolic cosine, same shape as x.
Notes
Mathematical definition:
Inputs with produce NaN through the real sqrt
branch. The derivative is , singular
at . Both arccosh and acosh refer to the
same composite; either spelling may be used for parity with NumPy
or reference-framework code.
Examples
>>> import lucid
>>> x = lucid.tensor([1.0, 2.0, 10.0])
>>> lucid.arccosh(x)
tensor([0., 1.317, 2.993])