[SciPy-user] sparse matrix eigenvector/value solver

josef.pktd at gmail.com josef.pktd at gmail.com
Fri Jan 30 11:24:54 EST 2009


On Fri, Jan 30, 2009 at 11:18 AM, christopher taylor
<christopher.paul.taylor at gmail.com> wrote:
> With a little greping, I found it!
>
> Look in scipy/sparse/linalg/eigen/arpack/speigs.py
>
> There's a function,  ARPACK_eigs that returns eigenvals and eigenvecs.
>
> Cheers!
>
> ct
>
> On Fri, Jan 30, 2009 at 11:05 AM,  <josef.pktd at gmail.com> wrote:
>> On Fri, Jan 30, 2009 at 10:37 AM, christopher taylor
>> <christopher.paul.taylor at gmail.com> wrote:
>>> I've been reading through scipy.sparse.* for some way to solve for
>>> eigenvectors and values without much success. I found a PySparse
>>> library which seems to have a solution that I'm looking for- any
>>> recommendations? Is this something I can do in the scope of scipy or
>>> should I look into this PySparse library?
>>>
>>> As an aside, the sparse matrices I'm working with are *huge*.
>>>
>>> ct
>>
>> Did you look at scipy\sparse\linalg\eigen\arpack\tests\test_speigs.py ?
>>
>> I think this got recently added to scipy, but I didn't see any
>> reference to it in the docs.
>>
>> Josef
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user at scipy.org
>> http://projects.scipy.org/mailman/listinfo/scipy-user
>>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>


arpack is not imported in

scipy\sparse\linalg\eigen\__init__.py

and is not included in the docs, links and automodule are missing.
Currently it has to be imported directly

import scipy.sparse.linalg.eigen.arpack

importing only import scipy.sparse.linalg.eigen  does not expose/load arpack

Josef



More information about the SciPy-User mailing list