cupy.sort_complex#
- cupy.sort_complex(a)[source]#
Sort a complex array using the real part first, then the imaginary part.
- Parameters
a (cupy.ndarray) – Array to be sorted.
- Returns
sorted complex array.
- Return type
See also
Sort a complex array using the real part first, then the imaginary part.
a (cupy.ndarray) – Array to be sorted.
sorted complex array.
See also