Next: Eigenvalue and Eigenvector Examples, Previous: Complex Hermitian Matrices, Up: Eigensystems
This function simultaneously sorts the eigenvalues stored in the vector eval and the corresponding real eigenvectors stored in the columns of the matrix evec into ascending or descending order according to the value of the parameter sort_type,
GSL_EIGEN_SORT_VAL_ASC
- ascending order in numerical value
GSL_EIGEN_SORT_VAL_DESC
- descending order in numerical value
GSL_EIGEN_SORT_ABS_ASC
- ascending order in magnitude
GSL_EIGEN_SORT_ABS_DESC
- descending order in magnitude
This function simultaneously sorts the eigenvalues stored in the vector eval and the corresponding complex eigenvectors stored in the columns of the matrix evec into ascending or descending order according to the value of the parameter sort_type as shown above.