Calculate Eigenvectors

I need to diagonalize a matrix. When looking at the api of nalgebra, I notice a function to calculate eigenvalues. However, I don’t see any function to calculate the corresponding eigenvectors. Am I missing something?


Currently, nalgebra only supports the computation of eigenvectors for symmetric matrices. To achieve this, you can use matrix.symmetric_eigen().eigenvectors.

For nonsymmetric matrices, we only support the computation of the eigenvalues (based on Schur decomposition) for now.

Thanks! My matrices are non-symmetric so I guess I’m stuck.