I'd like to know a way to compute the first eigenvector (the eigenvector with the largest eigenvalue) of a matrix A. Now I am using eig function.
However, this computes all eigenvectors of A, resulting in slow computation.
Does anyone know if there is a fastest way to compute the eigenvector? Thank you in advance.