On Tue, May 31, 2011 at 8:08 PM, Charles R Harris <[email protected]
> wrote:

> Hi All,
>
> I've been contemplating new functions that could be added to numpy and
> thought I'd run them by folks to see if there is any interest.
>
> 1) Modified sort/argsort functions that return the maximum k values.
>     This is easy to do with heapsort and almost as easy with mergesort.
>
>

While you're at, how about a function that finds both the max and min in one
pass?  (Mentioned previously in this thread:
http://mail.scipy.org/pipermail/numpy-discussion/2010-June/051072.html)


2) Ufunc fadd (nanadd?) Treats nan as zero in addition. Should make a faster
> version of nansum possible.
>
> 3) Fast medians.
>
>
> Chuck
>
> _______________________________________________
> NumPy-Discussion mailing list
> [email protected]
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to