[Numpy-discussion] numpy1.2 : make sorts unary ufuncs

Charles R Harris charlesr.harris at gmail.com
Sat Apr 19 00:58:44 EDT 2008


On Fri, Apr 18, 2008 at 10:53 PM, Robert Kern <robert.kern at gmail.com> wrote:

> On Fri, Apr 18, 2008 at 11:47 PM, Charles R Harris
> <charlesr.harris at gmail.com> wrote:
> > The signature for a ufunc is something like
> >
> > @TYPE at _@kind@(char **args, intp *dimensions, intp *steps, void *func)
> >
> > Which contains all the info necessary to do a sort. Means and other such
> > functions could also be implemented that way.
>
> axis?
>

I believe Travis is already selecting an axis to get the best cache usage,
so it just needs a tweak. Axis = None is the special case.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080418/66e70050/attachment.html>


More information about the NumPy-Discussion mailing list