dpnp.log1p
- dpnp.log1p(x1)[source]
Trigonometric logarithm, element-wise.
For full documentation refer to
numpy.log1p
.Limitations
Input array is supported as
dpnp.ndarray
. Input array data types are limited by supported DPNP Data types.See also
dpnp.expm1
exp(x) - 1
, the inverse ofdpnp.log1p
.
Examples
>>> import dpnp as np >>> x = np.arange(3.) >>> out = np.log1p(x) >>> [i for i in out] [0.0, 0.69314718, 1.09861229]