[Numpy-discussion] numpy1.2 : make sorts unary ufuncs
Sat Apr 19 00:02:00 CDT 2008
On Fri, Apr 18, 2008 at 11:58 PM, Charles R Harris
> On Fri, Apr 18, 2008 at 10:53 PM, Robert Kern <firstname.lastname@example.org> wrote:
> > On Fri, Apr 18, 2008 at 11:47 PM, Charles R Harris
> > <email@example.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.
So what is the benefit here? Why bother?
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion