On Sat, Apr 10, 2010 at 17:59, Robert Kern <robert.k...@gmail.com> wrote: > On Sat, Apr 10, 2010 at 12:45, Pauli Virtanen <p...@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().
And conversely overlapping areas are highly useful but completely impossible 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 _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion