cunumeric.isreal#

cunumeric.isreal(x: ndarray | npt.NDArray[Any]) ndarray#

Returns a bool array, where True if input element is real.

If element has complex type with zero complex part, the return value for that element is True.

Parameters:

x (array_like) – Input array.

Returns:

out – Boolean array of same shape as x.

Return type:

ndarray, bool

See also

numpy.isreal

Availability:

Multiple GPUs, Multiple CPUs