From: Nils W. <nw...@me...> - 2001-11-19 07:57:12
|
Alessandro Mirone schrieb: > > 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) > array([-2.30277564, 1.30277564]) > >>> print M > [[ 1.+0.j 0.+1.j] > [ 0.-1.j 1.+0.j]] > >>> > > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion On an Athlon running SuSE Linux 7.3 with the lapack-3.0-0 package, I get. [-2.30277564 1.30277564] Nils |