[SciPy-user] Cannot handle sparse matrices, yet.

Nils Wagner nwagner at mecha.uni-stuttgart.de
Wed Oct 15 09:16:36 EDT 2003


Dear experts,

At the beginning I have used 

k0=full(k00) 

to convert the sparse matrix k00 to a full matrix k0. 
Then I have used the -v4 option in Matlab to save the full matrix

save -mat -v4 k0 

However, I cannot import the f u l l matrix k0 in scioy

Traceback (most recent call last):
  File "matlab.py", line 4, in ?
    io.loadmat("k0",appendmat=0)
  File "/usr/local/lib/python2.1/site-packages/scipy/io/mio.py", line
423, in loadmat
    raise ValueError, "Cannot handle sparse matrices, yet."
ValueError: Cannot handle sparse matrices, yet.

For what reason ?

Nils



More information about the SciPy-User mailing list