[Numpy-svn] [numpy/numpy] a0aaf7: MAINT: refactor PyArray_ArgSort and PyArrayArgPart...
GitHub
noreply at github.com
Tue Feb 24 13:07:57 EST 2015
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: a0aaf752c75c310d4eeae1af1064ec8046e6d5e9
https://github.com/numpy/numpy/commit/a0aaf752c75c310d4eeae1af1064ec8046e6d5e9
Author: jaimefrio <jaime.frio at gmail.com>
Date: 2015-02-23 (Mon, 23 Feb 2015)
Changed paths:
M numpy/core/src/multiarray/item_selection.c
M numpy/core/src/npysort/heapsort.c.src
M numpy/core/src/npysort/mergesort.c.src
M numpy/core/src/npysort/quicksort.c.src
M numpy/core/src/private/npy_sort.h
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
MAINT: refactor PyArray_ArgSort and PyArrayArgPartition
Added three new functions to npy_sort: npy_aquicksort, npy_aheapsort
and npy_amergesort, for generic dtypes, with signature compatible with
PyArray_ArgSortFunc, and refactored PyArray_ArgSort and
PyArray_ArgPartition to use them through a call to _new_argsortlike.
As an added bonus, partly fixes #5469 and adds some tests for it.
Commit: 4d4fb0d12b9ddfa76e485ea3caa6fac25e7183da
https://github.com/numpy/numpy/commit/4d4fb0d12b9ddfa76e485ea3caa6fac25e7183da
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-02-24 (Tue, 24 Feb 2015)
Changed paths:
M numpy/core/src/multiarray/item_selection.c
M numpy/core/src/npysort/heapsort.c.src
M numpy/core/src/npysort/mergesort.c.src
M numpy/core/src/npysort/quicksort.c.src
M numpy/core/src/private/npy_sort.h
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
Merge pull request #5494 from jaimefrio/argsort_refactor
MAINT: refactor PyArray_ArgSort and PyArrayArgPartition
Compare: https://github.com/numpy/numpy/compare/8c0a50c5b1b3...4d4fb0d12b9d
More information about the Numpy-svn
mailing list