Re: [Numpy-discussion] accumarray
> On Wed, Mar 26, 2008 at 5:20 PM, Gabriel J.L. Beckers <[EMAIL PROTECTED]> > wrote: >> Does numpy have something like Matlab's accumarray? >> http://www.mathworks.com/access/helpdesk/help/techdoc/ref/accumarray.html On Wed, 26 Mar 2008, Robert Kern apparently wrote: > No. But of course you can do things like (1d example) vals[subs==2].sum() Cheers, Alan Isaac ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] accumarray
On Wed, Mar 26, 2008 at 5:20 PM, Gabriel J.L. Beckers <[EMAIL PROTECTED]> wrote: > Does numpy have something like Matlab's accumarray? > > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/accumarray.html No. -- 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://projects.scipy.org/mailman/listinfo/numpy-discussion
[Numpy-discussion] accumarray
Does numpy have something like Matlab's accumarray? http://www.mathworks.com/access/helpdesk/help/techdoc/ref/accumarray.html Best, Gabriel ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion