[SciPy-User] how to obtain I,J,V from sparse matrix (V,(I,J)) ?

Jose Borreguero borreguero@gmail....
Tue Mar 20 16:08:22 CDT 2012


Dear Scipy users,

Scipy docs state one can construct a matrix from three 1D arrays, A = sparse
.coo_matrix((V,(I,J)),shape=(4,4))

However, given sparse matrix A, how can I obtain arrays V, I, and J?
I could not find any methods of the sparse matrix that would return
these arrays...

- Jose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20120320/c96e5aa4/attachment.html 


More information about the SciPy-User mailing list