scipy sparse matrix question
Robert Kern
robert.kern at gmail.com
Tue Mar 9 11:01:07 EST 2010
On 2010-03-09 00:14 AM, Victor Eijkhout wrote:
> I can't find any detailed information about scipy.sparse.
The place to ask would be on scipy-user:
http://www.scipy.org/Mailing_Lists
> My specific question: what does "for x in A" give me when A is a sparse
> matrix? It seems to yield all nonzero locations,
No, it gives you rows, just like a dense 2D array.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list