[SciPy-user] Sparse Matrices (SciPy or elsewhere)?

José Fonseca j_r_fonseca at yahoo.co.uk
Mon Dec 9 19:41:48 EST 2002


On Mon, Dec 09, 2002 at 07:36:42AM +0000, Costas Malamas wrote:
> I use SciPy, mostly for fun (check out my toy at memigo.com).  For a new 
> project, I am looking for a way to do sparse matrix algebra in NumPy/SciPy. 
> I notice that SciPy/sparse has been pretty much abandoned.  Is it 
> functional? if not, are there alternatives?
> 
> A working win32 implementation would be a plus (linux required though).

There is at least one besides SciPY/sparse, which is sparsemodule,
available at http://arctrix.com/nas/python/sparsemodule/

I too wanted some sparse matrix support for some FE structural modal
analysis I ported from Matlab to Numeric Python, so a I made an
exaustive search of everything I could find. In the end, as I mainly
needed to determine the eigenvalues/eigenvectors (which wasn't supported
in any of the sparse modules) I made an ARPACK binding and a very thin
"sparse matrix" wrapper class around it (basically it just allows you to
multiply a matrix by a vector, and to add matrices with the same
sparsity structure, and all matrices have to be preallocated - which
suites perfectly the operation needed for efficient FE analysis).

José Fonseca
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



More information about the SciPy-User mailing list