jax.numpy.expm1

Contents

jax.numpy.expm1#

jax.numpy.expm1(x, /)[source]#

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

LAX-backend implementation of numpy.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