scipp.sinh#

scipp.sinh(x, *, out=None)#

Element-wise hyperbolic sine.

The input unit must be dimensionless.

Parameters:
Returns:

Same type as input – The hyperbolic sine values of the input.

Examples

Compute the hyperbolic sine:

>>> import scipp as sc
>>> x = sc.array(dims=['x'], values=[-1.0, 0.0, 1.0])
>>> sc.sinh(x)
<scipp.Variable> (x: 3)    float64  [dimensionless]  [-1.1752, 0, 1.1752]

The input must be dimensionless:

>>> sc.sinh(sc.scalar(0.0))
<scipp.Variable> ()    float64  [dimensionless]  0