help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Eigen vector problem


From: Patrick Alken
Subject: Re: [Help-gsl] Eigen vector problem
Date: Fri, 30 May 2014 16:40:51 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

What you need to check is whether the eigenvector satisfies the eigenvalue equation:

A*x = lambda*B*x

If gsl gives you an x which satisfies this equation, then it is an eigenvector. It may however differ by a complex scalar from the matlab eigenvector, since eigenvectors are unique only up to a scalar factor.

Patrick

On 05/30/2014 04:36 PM, belwafi kais wrote:
Thank you very much Dr Klaus for your reply.

Attached my c code which i try to calculate the eigenvector of two matrix
AA and BB. For the eigenvalue it is ok but for the eigenvector it is
completely different from matlab.
Thank you for your help.

Best regards



2014-05-31 1:26 GMT+03:00 Klaus Huthmacher <address@hidden>:

Dear Belwafi Kais,

maybe you can give us some sourcecode which we can check, e.g. the matrix
you are working with?

Furthermore, from my humble experience, some eigensolve programs give back
normalized eigenvectors some not.

Regards,
-- Klaus.



--




reply via email to

[Prev in Thread] Current Thread [Next in Thread]