-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sparse matrices generalized eigenvalue problem. #109
Comments
Looks like we don't currently wrap the ARPACK function to compute the generalized eigenproblem. |
I have been planning to do it for a while. Shouldn't be too difficult. |
That said, I won't be able to get to it until next week - so anyone who wants to take a crack should probably do it. |
Hi, any news on this? I'm having the same problem |
Initial support is now in place. I suspect that this is going to be slow, because of allocation of a vector during the matvec, but I haven't actually benchmarked it yet. Do try it out...
|
I timed a few iterations of your demo above. Most of the time it completes in 0.2-0.3 seconds, but occasionally it takes 7-8 seconds (without changing |
The initial support test of @ViralBShah didn't check if eigenpairs were computed, and in many cases they are not eigenpairs, unfortunately. Although the residual is almost zero, so are the eigenvectors in many cases:
Also, the values in
I think the origin of this is the same as origin of the bugs reported in the comments of #488. Credits to @meleg for identifying this. |
Maybe open a new issue? |
I have two huge sparse matrices A and B generated by FreeFem++.
I'd like to compute what in matlab would be
(and I need both eigenvalues and relative eigenfunctions)
Sadly with Julia I get:
(and similar with different combinations of arguments).
Is there any way to overcome this problem?
The text was updated successfully, but these errors were encountered: