From: Travis O. <oli...@ie...> - 2001-11-19 03:00:33
|
On Sunday 18 November 2001 09:40 am, Alessandro Mirone wrote: > Is it a problem of lapack3.0 of of > LinearAlgebra.py? > ..................... ==> (Eigenvalues should be (0,2)) > > >>> a=array([[1,0],[0,1]]) > >>> b=array([[0,1],[-1,0]]) > >>> M=a+b*complex(0,1.0) > >>> Heigenvalues(M) I suspect it is your lapack. On an Athlon running Mandrake Linux with the lapack-3.0-9 package, I get. >>> a=array([[1,0],[0,1]]) >>> b=array([[0,1],[-1,0]]) >>> M=a+b*complex(0,1.0) >>> Heigenvalues(M) array([ 0., 2.]) -Travis |