[Numpy-discussion] PutSum?

2010-06-11 Thread jordan
Hi all, I recently needed to a simple array procedure that I assumed would be supported (and almost is) but was surprised to find some limitations. I've got two arrays, A and B, and some array of indices, I, and I want to perform the operation A[I] += B where I and B have the same dimensions.

Re: [Numpy-discussion] PutSum?

2010-06-11 Thread Robert Kern
On Fri, Jun 11, 2010 at 22:06, jor...@math.ucsb.edu wrote: Hi all, I recently needed to a simple array procedure that I assumed would be supported (and almost is) but was surprised to find some limitations. I've got two arrays, A and B, and some array of indices, I, and I want to perform