pymc.math.arcsinh#
- pymc.math.arcsinh = Elemwise(scalar_op=arcsinh,inplace_pattern=<frozendict {}>)[source]#
hyperbolic arc sine of a
Computes element-wise inverse hyperbolic sine of a tensor.
- Parameters:
- a
TensorLike
Input tensor
- a
- Returns:
TensorVariable
Output tensor with the hyperbolic arc sine of each element
Notes
This function corresponds to NumPy’s np.arcsinh function. The inverse hyperbolic sine is defined for all real numbers.
Examples
>>> import pytensor >>> import pytensor.tensor as pt >>> x = pt.vector("x") >>> f = pytensor.function([x], pt.arcsinh(x)) >>> f([-1, 0, 1]) array([-0.88137359, 0. , 0.88137359])