[SciPy-user] sparse matrix eigenvector/value solver

christopher taylor christopher.paul.taylor@gmail....
Fri Jan 30 10:26:32 CST 2009


thanks! i'm in the process of testing it out.

ct

On Fri, Jan 30, 2009 at 11:24 AM,  <josef.pktd@gmail.com> wrote:
> On Fri, Jan 30, 2009 at 11:18 AM, christopher taylor
> <christopher.paul.taylor@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@gmail.com> wrote:
>>> On Fri, Jan 30, 2009 at 10:37 AM, christopher taylor
>>> <christopher.paul.taylor@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@scipy.org
>>> http://projects.scipy.org/mailman/listinfo/scipy-user
>>>
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user@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
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-user mailing list