[Numpy-discussion] Proposal for new ufunc functionality

Robert Kern robert.kern@gmail....
Sat Apr 10 17:59:21 CDT 2010

On Sat, Apr 10, 2010 at 12:45, Pauli Virtanen <pav@iki.fi> wrote:
> la, 2010-04-10 kello 12:23 -0500, Travis Oliphant kirjoitti:
> [clip]
>> Here are my suggested additions to NumPy:
>> ufunc methods:
> [clip]
>>       * reducein (array, indices, axis=0)
>>                similar to reduce-at, but the indices provide both the
>> start and end points (rather than being fence-posts like reduceat).
> Is the `reducein` important to have, as compared to `reduceat`?

Yes, I think so. If there are some areas you want to ignore, that's
difficult to do with reduceat().

Robert Kern

"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 mailing list