
From:  Hannes Basler 
Subject:  Re: [Helpgsl] Complex eigenvalues 
Date:  Thu, 10 May 2007 11:41:07 +0200 
Hi,all eigenvalues of a Hermitian Matrix are real, so there is no need for complex eigenvalues if you use gsl_eigen_herm(). A symmetric matrix is a special case of a hermitian matrix and has also only real eigenvalues. If you have a nonsymmetric real matrix you can use gsl_eigen_nonsymm (), this function gives the eigenvalues in a gsl_vector_complex*. At the moment there is no function to compute the eigenvalues of a nonhermitian complex matrix in GSL.
Cheers, Hannes On May 10, 2007, at 9:21 AM, Andras Simon wrote:
Hi there,I have been searching the archives, but could not find the answer to this question: how to calculate the complex eigenvalues of a real or complex matrix ? I have tried gsl_eigen_herm() and gsl_eigen_symm(), but it appearsas both functions assume that the eigenvalues are real (the type ofeigenvalues vector is gsl_vector* type). I could not figure out how to getthe complex eigenvalues into a gsl_vector_complex*. Any ideas ? Comments ? Any help is appreciated, I'm stuck ;( Thanks, Andras Simon address@hidden _______________________________________________ Helpgsl mailing list address@hidden http://lists.gnu.org/mailman/listinfo/helpgsl
[Prev in Thread]  Current Thread  [Next in Thread] 