-
Notifications
You must be signed in to change notification settings - Fork 26
Numerical issues with svd #54
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
Comments
Sorry for the slow response here. I've identified the issue but I'm still working on the fix. I think the issue is that a shift is causing catastrophic cancellation which introduces an inaccurate Givens rotation. I'll probably have to adjust the convergence criterion a bit. |
andreasnoack
added a commit
that referenced
this issue
May 7, 2020
zero-shift algorithm and the algorithm with shifts. The algorhtm now follows the criterion of LAWN for switching between the two algorithms. Fixes #54
andreasnoack
added a commit
that referenced
this issue
May 7, 2020
zero-shift algorithm and the algorithm with shifts. The algorhtm now follows the criterion of LAWN for switching between the two algorithms. Fixes #54
andreasnoack
added a commit
that referenced
this issue
May 7, 2020
) * Fix SVD convergence criteria and criteria for switching between the zero-shift algorithm and the algorithm with shifts. The algorhtm now follows the criterion of LAWN for switching between the two algorithms. Fixes #54 * Include some unrelated cleanup in the general eigensolver * Test on latest release
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've been running into some problems with
svd
when multiple singular values have the same magnitude. Consider for example the following.This gives an error of
2.07
(!). With GenericSVD the same error is5.6e-77
. Casting A to Float64 gives an error of1.9e-16
.Note that the singular values themselves seem to be computed alright.
The text was updated successfully, but these errors were encountered: