[SciPy-User] Using Scipy Sparse Matrices and Weave Inline possible?

cp3028 cp3028@googlemail....
Fri May 4 15:57:07 CDT 2012


Hello Everyone,

I have to assemble a very large sparse matrix from small dense
matrices. Is there a way to use weave.inlne to speed up the process?
The problem is, the entries of the small dense matrices are
distributed very irregular on the large sparse matrice. Until now I
loop over all dense matrices and every entry and assign it to the
corresponding position in the sparse large matrice through a lookup
table.

Is there a faster way?

Cheers!



More information about the SciPy-User mailing list