[SciPy-dev] matrix bug
Robert Kern
rkern at ucsd.edu
Tue Oct 11 22:40:37 EDT 2005
[~]$ cat test.py
from scipy import *
A = array([[1., 2.],
[3., 4.]])
mA = matrix(A)
print 3*mA
print 3*A
print
mA*mA
print 3*mA
print 3*A
[~]$ python test.py
[[ 3. 6.]
[ 9. 12.]]
[[ 3. 6.]
[ 9. 12.]]
[[ 3. 6.]
[ 24. 34.]]
[[ 3. 6.]
[ 9. 12.]]
----------------------------------------
I can't reproduce this at the prompt although it is showing up in the
unit tests I'm writing.
--
Robert Kern
rkern at ucsd.edu
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
More information about the SciPy-Dev
mailing list