This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Is Eigen good for finding eigenpairs of small sparse matrix?

Tags: None
(comma "," separated)
kimkevin
Registered Member
Posts
2
Karma
0
I won't be dealing with a huge dimensional matrices, but maybe around 30 by 30 and up to 70 by 70

but I need to find eigenpairs of a laplacian matrix which is symmetric and 'somewhat' sparse.

Would Eigen be suitable for that?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
For such small matrices simply use a dense MatrixXd and the SelfAdjointEigenSolver. Even for a 1000x1000 matrix, it will take less than a second.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]