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