dpnp.expm1

dpnp.expm1(x1)[source]

Trigonometric exponent minus 1, element-wise.

For full documentation refer to numpy.expm1.

Limitations

Input array is supported as dpnp.ndarray. Input array data types are limited by supported DPNP Data types.

See also

dpnp.log1p log(1 + x), the inverse of expm1.

Examples

>>> import dpnp as np
>>> x = np.arange(3.)
>>> out = np.expm1(x)
>>> [i for i in out]
[0.0, 1.718281828, 6.389056099]