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:
Hello,
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.
Fred
On Wed, Feb 29, 2012 at 6:20 AM, Wu Degang <samuelan...@gmail.com
<mailto:samuelan...@gmail.com>> wrote:
Hi,
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?
regards,
Wu Degang