[Numpy-discussion] SVD failure
Philipp K. Janert
python@beyondcode....
Mon May 4 17:19:51 CDT 2009
The following code:
from scipy import *
from scipy import linalg
m = matrix( [ [1,1,0,0],
[1,1,0,0],
[0,0,1,1],
[0,0,1,1] ] )
u,s,v = linalg.svd( m )
fails with the following message:
Traceback (most recent call last):
File "boo.py", line 10, in <module>
u,s,v = linalg.svd( m )
File "/usr/lib64/python2.6/site-packages/scipy/linalg/decomp.py", line 509,
in svd
lwork = calc_lwork.gesdd(gesdd.prefix,m,n,compute_uv)[1]
RuntimeError: more argument specifiers than keyword list entries (remaining
format:'|:calc_lwork.gesdd')
On the other hand, calculating
la, v = eig( m )
works just fine.
If I see this correctly, my SciPy version
is 0.6.0; running on 64bit Suse 11.
Any thoughts?
Best,
Ph.
More information about the Numpy-discussion
mailing list