From: Bill B. <wb...@gm...> - 2006-10-08 05:49:02
|
Yes, that'd be a[b] += c On 10/8/06, Daniel Mahler <dm...@gm...> wrote: > Is there a 'loop free' way to do this in Numeric > > for i in arange(l): > a[b[i]]+=c[i] > > where l == len(b) == len(c) > > thanks > Daniel |