/argsort

Return the indices that would sort a slice without mutating the slice

Primary LanguageGoMIT LicenseMIT

Go Report Card

Argsort

Package argsort is Go package that implements a variant of the sort function that returns a slice of indices that would sort the array.

The name comes from the popular Python numpy.Argsort function.