arccosh

Contents

arccosh#

class saiunit.math.arccosh(x, unit_to_scale=None, **kwargs)#

Inverse hyperbolic cosine, element-wise.

Parameters:
  • x (Array | ndarray | bool | number | bool | int | float | complex | saiunit.Quantity) – Input values, must be >= 1.

  • unit_to_scale (saiunit.Unit | None) – Unit used to convert x to a dimensionless number first.

Returns:

out – Element-wise inverse hyperbolic cosine.

Return type:

Array

Examples

>>> import saiunit as u
>>> import jax.numpy as jnp
>>> u.math.arccosh(jnp.array([1.0, 2.0, 3.0]))
Array([0.       , 1.3169578, 1.7627472], dtype=float32)