jax.numpy.expm1

jax.numpy.expm1(x)

Calculate exp(x) - 1 for all elements in the array.

LAX-backend implementation of expm1().

Original docstring below.

Parameters

x (array_like) – Input values.

Returns

out – Element-wise exponential minus one: out = exp(x) - 1. This is a scalar if x is a scalar.

Return type

ndarray or scalar