[Numpy-discussion] Sparse Matrices in Numpy -- (with eigenvalue algorithms if possible)

Stéfan van der Walt stefan@sun.ac...
Mon Jun 23 18:50:48 CDT 2008


Hi Dan

2008/6/23 Dan Yamins <dyamins@gmail.com>:
> I'm wondering if there is a currently-available Sparse-Matrix package for
> numpy?  If so, how do I get it?    And, if there is a good sparse-matrix
> package, does it include an eigenvalue-computation algorithm?  How would a
> sparse-matrix package interact with something like numpy.linalg.eig, or for
> that matter any of the other numpy modules?

SciPy contains all this functionality as `scipy.sparse`.  The NumPy
algorithms only work on dense matrices, but SciPy provides special
linear algebra routines.

Regards
Stéfan


More information about the Numpy-discussion mailing list