Registered Member
|
Hi all,
I'm trying to use the ARPACK wrapper (on the unstable dev branch) with no luck. This is the code I'm trying to compile:
And these are the errors:
Any ideas? Thanks! |
Moderator
|
it seems this class (ArpackGeneralizedSelfAdjointEigenSolver) is for sparse matrices only.
|
Registered Member
|
Unfortunately, I had to make some assumptions about the type of matrix solver used (the second
template parameter) for the SPD case (at least for it to be super fast). There was no way to get the permuted version of the matrix L in a decomposition, so I have to manually apply the permutation. This means any solver without a permutation will not work. It definitely would be possible to add some sort of flag and then implement a partial template specialization for a non-permuted LLT solver, but I didn't worry about it too much because Eigen already has a good dense eigensolver. |
Registered Member
|
Thanks for your replies!
I kinda "solved" the problem using sparseView(). I don't know if this workaround is a good way to do it but it's working fine. In my setting, all matrices are dense and I typically need a small number of eigenvalues/vectors (e.g., PCA). |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]