[SciPy-user] Sparse matrices and weave.inline, f2py or Pyrex

Robert Cimrman cimrman3 at ntc.zcu.cz
Mon Aug 21 05:31:42 CDT 2006


William Hunter wrote:
> Yes, well, my best attempt at it. You'll notice that the sparse
> matrices doesn't support fancy indexing, unfortunately. (I'm hoping
> someone can prove me wrong :-)
> Here's some code you can fiddle with (also attached -
> sparsefiddle.py), if you want.

Hi William,

I assume you wish to assemble a large sparse matrix from small dense 
matrices (finite element method?) I use for this a function written in 
C, wrapped by SWIG. So if you are interested...

r.


More information about the SciPy-user mailing list