This is the mail archive of the gsl-discuss@sourceware.cygnus.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Eigenvalue problem i GSL?


Øystein O Johansen wrote:

> I'm trying to calculate the eigenvalues from this matrix:
> 
>    | -3.34   1.596 |
> a =|               |
>    | -1.596  3.512 |
> 
> and if I haven't done anything wrong, gsl_eigen_jacobi returns:
> 
> -3.69351 and 3.86551
> 
> The prblem is that this is the wrong answer, according to Matlab, and
> my hp-48 calculator, which both gets:    -0.2946 and 0.3118

The Jacobi method is appropriate for symmetric matrices, which
yours is not. I have no idea what it tells you if the matrix
is not symmetric.

I see that there is nothing yet in the documentation to
indicate this. Perhaps soon there will be...


--
G. Jungman

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]