cunumeric.real#
- cunumeric.real(val)#
Return the real part of the complex argument.
- Parameters
val (array_like) – Input array.
- Returns
out – The real component of the complex argument. If val is real, the type of val is used for the output. If val has complex elements, the returned type is float.
- Return type
ndarray or scalar
See also
- Availability
Multiple GPUs, Multiple CPUs