dpnp.dpnp_array.dpnp_array.imag
property
- property dpnp_array.imag
The imaginary part of the array.
For full documentation refer to
numpy.ndarray.imag
.Examples
>>> import dpnp as np >>> x = np.sqrt(np.array([1+0j, 0+1j])) >>> x.imag array([0. , 0.70710677])