Finding Nonzero Elements in a Sparse Matrix

deLenn ynaddaf at riptown.com
Tue Nov 7 23:16:53 CET 2006


Hi,

Does scipy have an equivalent to Matlab's 'find' function, to list the
indices of all nonzero elements in a sparse matrix?

Cheers.




More information about the Python-list mailing list