Go to the first, previous, next, last section, table of contents.


Eigensystems

This chapter describes functions for computing eigenvalues and eigenvectors of generic matrices.

The following functions work only for real, symmetric matrices.

Function: int gsl_eigen_jacobi_impl (gsl_matrix * matrix, gsl_vector * eval, gsl_matrix * evec, unsigned int max_rot, unsigned int * nrot)
Find eigenvectors and eigenvalues by Jacobi iteration. The data in the input matrix is destroyed.

Function: int gsl_la_invert_jacobi_impl (const gsl_matrix * matrix, gsl_matrix * ainv, unsigned int max_rot)
Invert a matrix by Jacobi iteration.

Function: int gsl_eigen_sort_impl (gsl_vector * eval, gsl_matrix * evec, gsl_eigen_sort_t sort_type)
Sort eigensystem results based on eigenvalues. Sorts in order of increasing value or increasing absolute value, depending on the value of sort_type, which can be GSL_EIGEN_SORT_VALUE or GSL_EIGEN_SORT_ABSVALUE.


Go to the first, previous, next, last section, table of contents.