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

Charles R Harris charlesr.harris@gmail....
Fri Apr 18 23:58:44 CDT 2008


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

> On Fri, Apr 18, 2008 at 11:47 PM, Charles R Harris
> <charlesr.harris@gmail.com> wrote:
> > The signature for a ufunc is something like
> >
> > @TYPE@_@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://projects.scipy.org/pipermail/numpy-discussion/attachments/20080418/66e70050/attachment.html 


More information about the Numpy-discussion mailing list