jax.numpy.cosh#
- jax.numpy.cosh(x, /)#
Hyperbolic cosine, element-wise.
LAX-backend implementation of
numpy.cosh()
.Original docstring below.
Equivalent to
1/2 * (np.exp(x) + np.exp(-x))
andnp.cos(1j*x)
.- Parameters:
x (array_like) – Input array.
- Returns:
out – Output array of same shape as x. This is a scalar if x is a scalar.
- Return type:
ndarray or scalar