cupy.lexsort#
- cupy.lexsort(keys)[source]#
Perform an indirect sort using an array of keys.
- Parameters:
keys (cupy.ndarray) –
(k, N)array containingk(N,)-shaped arrays. Thekdifferent “rows” to be sorted. The last row is the primary sort key.- Returns:
Array of indices that sort the keys.
- Return type:
Note
For its implementation reason,
cupy.lexsortcurrently supports only keys with their rank of one or two and does not supportaxisparameter thatnumpy.lexsortsupports.See also