cosh#
- class brainunit.math.cosh(x, unit_to_scale=None, **kwargs)#
Hyperbolic cosine, element-wise.
- Parameters:
- Returns:
out – Element-wise hyperbolic cosine.
- Return type:
Array
Examples
>>> import saiunit as u >>> import jax.numpy as jnp >>> u.math.cosh(jnp.array([0.0, 1.0])) Array([1. , 1.5430806], dtype=float32)