[SciPy-user] Most Basic of Matrix

quendor at nandor.net quendor at nandor.net
Wed Sep 29 09:30:54 CDT 2004


Robert,

I had been using Numeric 23.0. I re-installed from source and 
encountered the same problem. I then installed Numeric 23.3 and no more 
problem. Must have been a bug in 23.0.

Thanks

I was using Numeric 23.0. I re-installed and encountered the same 
problem. I then
On Sep 25, 2004, at 3:07 PM, Robert Kern wrote:

> quendor at nandor.net wrote:
>> I forgive in advance what will probably be the lamest of questions. I 
>>  am new to scipy. I can select an element of a matrix, but  seem 
>> unable  to change the element. Am I using the wrong API?
>> When I run the following code:
>> #!/usr/bin/python
>> from scipy import *
>> A = mat([[1,2],[3,4]])
>> print A[1,1]
>> A[1,1] = 100
>
> This works fine for me on OS X 10.3, Python 2.3, SciPy CVS, and 
> Numeric 23.3. What versions of SciPy and Numeric are you using?
>
> -- 
> Robert Kern
> rkern at ucsd.edu



More information about the SciPy-user mailing list