[SciPy-dev] Current status of arpack.speigs.eigvals

Nils Wagner nwagner at iam.uni-stuttgart.de
Mon Nov 20 07:07:03 CST 2006


Hi all,

I am wondering if arpack.speigs.eigvals is ready to compute eigenvalues.

a = random.rand(10,10)
matvec = lambda x:dot(a,x)
nev = 4
ncv = 2*nev
w1,v1 = arpack.speigs.eigvals(matvec,a.shape[0],nev=nev,ncv=ncv)

Traceback (most recent call last):
  File "test_eigs.py", line 34, in ?
    w1,v1 = arpack.speigs.eigvals(matvec,a.shape[0],nev=nev,ncv=ncv)
  File
"/usr/lib64/python2.4/site-packages/scipy/sandbox/arpack/speigs.py",
line 71, in eigvals
    if info != 0: raise "Hell" # Indicates some error during the
Arnouldi iterations
Hell
 

Am I missing something ?


       Nils



More information about the Scipy-dev mailing list