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

Stéfan van der Walt stefan at sun.ac.za
Mon Jun 23 19:50:48 EDT 2008


Hi Dan

2008/6/23 Dan Yamins <dyamins at 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