[Numpy-discussion] A better median function?

Chad Netzer chad.netzer@gmail....
Sat Aug 22 15:28:23 CDT 2009


The good news is that it was trivial to adapt
numpy/core/src/_sortmodule.c.src:quicksort() to do a quickselect().
When I'm back home I'll follow up with discussion on how (if it all)
to expose this to numpy.median() or numpy in general.

-Chad


More information about the NumPy-Discussion mailing list