[SciPy-user] Replacing elements in matrix

Stephen Walton stephen.walton at csun.edu
Tue Apr 26 12:44:59 CDT 2005


steve schmerler wrote:

> I tried your example ...but get
>
> In [8]: A[indexi,indexj]
> --------------------------------------------------------------------------- 
>
> IndexError                                Traceback (most recent call 
> last)

I guess I should have pointed out that what I did only works in 
numarray.  Sorry about that.  The original reply was correct:  awkward 
games with get and put will be needed in Numeric.



More information about the SciPy-user mailing list