dpnp.cbrt
- dpnp.cbrt(x1)[source]
Return the cube-root of an array, element-wise.
For full documentation refer to
numpy.cbrt
.Limitations
Input array is supported as
dpnp.ndarray
. Input array data types are limited by supported DPNP Data types.Examples
>>> import dpnp as np >>> x = np.array([1, 8, 27]) >>> out = np.cbrt(x) >>> [i for i in out] [1.0, 2.0, 3.0]