[Numpy-discussion] NumArray sort method

Todd Miller jmiller at stsci.edu
Wed Jun 8 08:52:56 CDT 2005


Thanks to Chuck Harris,  the sort() 'kind' keyword parameter can be
assigned any of the following values with each selecting a different
implementation:

['sort', 'mergesort', 'heapsort', 'quicksort']

'sort' is numarray's original sort() function and the other's provide
more specialized algorithms and improved performance.  Identical 'kind'
values should work for argsort() as well.

Regards,
Todd





More information about the Numpy-discussion mailing list