cunumeric.sort_complex#

cunumeric.sort_complex(a)#

Returns a sorted copy of an array sorted along the last axis. Sorts the real part first, the imaginary part second.

Parameters

a (array_like) – Input array.

Returns

out – Sorted array with same shape as a.

Return type

ndarray, complex

Notes

The current implementation has only limited support for distributed data. Distributed 1-D data will be broadcasted.

Availability

Multiple GPUs, Single CPU