ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> scipy-dev
scipy-dev
Re: [SciPy-dev] ARPACK wrapper
by Aric Hagberg other posts by this author
Nov 20 2006 6:33AM messages near this date
Re: [SciPy-dev] ARPACK wrapper | Re: [SciPy-dev] ARPACK wrapper
On Mon, Nov 20, 2006 at 09:45:47AM +0100, Nils Wagner wrote:
>  Hi Neilen,
>  
>  In order to compare the results with the workhorse eig I have used a
>  very small
>  order n. The number of desired eigenpairs is equal to k=4 in my example,
>  but the
>  shape of the array of eigenvectors is (n,k+1) and for the eigenvalues it
>  is (k+1,).
>  The eigenvectors returned by arpack.eigen are zero.
>  
>  Nils

Hi Nils,

The size of the return arrays are intentional (k+1).  This is 
the way ARPACK returns eigenvalues and eigenvectors for nonsymmetric
matrices.  I think the idea is that the k'th eigenvalue
(largest, smallest, etc) might be a complex conjugate pair and
then you might want k+1 (the conjugate).  Else, if the k'th
eigenvalue is real that entry is zero.   

I can run your test example successfully.  Do the tests in
arpack/tests/test_arpack.py work for you?  

Aric

 

_______________________________________________
Scipy-dev mailing list
Scipy-dev@[...].org
http://projects.scipy.org/mailman/listinfo/scipy-dev
Thread:
Neilen Marais
Nils Wagner
Neilen Marais
Nils Wagner
Neilen Marais
Aric Hagberg
Nils Wagner
Nils Wagner
Aric Hagberg

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved