|
From: | Wu Degang |
Subject: | Re: [Help-gsl] about sorting eigenvalues |
Date: | Thu, 01 Mar 2012 09:58:49 +0800 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
On 1/3/12 3:00 AM, Rhys Ulerich 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?Does gsl_sort_vector accomplish what you need? http://www.gnu.org/software/gsl/manual/html_node/Sorting-vectors.html - Rhys
gsl_sort_vector is quite useful. Thank you. - Wu Degang
[Prev in Thread] | Current Thread | [Next in Thread] |