[Numpy-discussion] Fwd: Advanced selection, duplicate indices, and augmented assignment

Sean R. Lynch seanl at literati.org
Sun Jan 7 16:14:41 EST 2007

Travis Oliphant wrote:

> I don't think we could make it work as he expects (and not radically 
> change NumPy itself so that other operations are very different) because 
> of the limitations of Python.
> The point was that it is too complicated to do any differently (and is 
> probably impossible).

Ok, thanks for the explanation.

In that case, is there a way to do what I want (accumulate values per
index) without looping in Python? The histogram functions would only
count the number of uses of a given index AFAICT. I want to sum all of
the normals for a given index.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20070107/c0a5ef61/attachment.sig>

More information about the NumPy-Discussion mailing list