[Top][All Lists]

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

Re: [Help-gsl] about sorting eigenvalues

From: Wu Degang
Subject: Re: [Help-gsl] about sorting eigenvalues
Date: Thu, 01 Mar 2012 10:01:43 +0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

What you mentioned about sounds like a bug. For my purpose, gsl_sort_vector is sufficient.

Thank you.

- Wu

On 29/2/12 11:27 PM, Fred Perras wrote:

I use the gsl_eigen_hermv function for what I do. Fore some reasons I found it more accurate than the symmv function even for symmetric matrices (although probably slower). It doesn't seem that there are sorting functions for eigenvalues only although in that case you can use other, regular, c/c++ functions like qsort.


On Wed, Feb 29, 2012 at 6:20 AM, Wu Degang <address@hidden <mailto:address@hidden>> wrote:


    I have a real symmetric matrix and use gsl_eigen_symm to compute
    the eigenvalues. After that I need to sort the eigenvalues, but I
    find in the manual gsl_eigen_symmv_sort, which sorts the
    eigenvalues as well as the eigenvectors. I just need to sort the
    eigenvalues. What function should I use?


    Wu Degang

reply via email to

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