There isn't really an algorithm like this, unless you have a very specific structure (tridiagonal or banded matrix mostly).
The matrix of all eigenvectors of a large sparse matrix is going to be dense in nearly all cases - so since the output is going to be dense, it makes sense to just pass in a dense matrix on input.
A lot of sparse-specific algorithms like EIGS are mostly focused on cases where only the sparse matrix can be stored, because making it dense would not fit in memory. So in that case, you can't usually afford to compute all eigenvectors since they wouldn't fit in memory.
2 Comments
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/720320-solving-for-all-the-eigenvectors-of-a-sparse-matrix#comment_1273069
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/720320-solving-for-all-the-eigenvectors-of-a-sparse-matrix#comment_1273069
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/720320-solving-for-all-the-eigenvectors-of-a-sparse-matrix#comment_1279558
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/720320-solving-for-all-the-eigenvectors-of-a-sparse-matrix#comment_1279558
Sign in to comment.