The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

Bug in dgeevx_ ?

Open discussion regarding features, bugs, issues, vendors, etc.

Bug in dgeevx_ ?

Postby Mikeekim » Thu Jul 29, 2010 5:59 am

Hi,

I calculated the eigenvalues from a matrix A and of her transposed matrix A^t.
In the first case i got complex eigenvalues and in the second real
eigenvalues.

But i would expect that both have the same eigenvalues, because

det(A-s*Id)=det((A-s*Id)^t)=det(A^t -s*Id).

The program is written in C.
I compiled it by
gcc -Wall -g -llapack -lblas -lgfortran qss_main.c read_data.c Hom_DGL_Solver.c
-o Eig.x

Did I make a mistake or lapack ?
Mikeekim
 
Posts: 1
Joined: Thu Jul 29, 2010 5:51 am

Re: Bug in dgeevx_ ?

Postby cottrell » Mon Aug 02, 2010 8:42 am

Did I make a mistake or lapack ?


Who knows? The former is more likely, the latter not impossible.
Show us your calls to dgeevx if you want an answer.

Allin Cottrell
cottrell
 
Posts: 73
Joined: Thu Jan 15, 2009 1:40 pm


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 2 guests