-
Notifications
You must be signed in to change notification settings - Fork 26
svd for a 16x16 BigFloat matrix runs forever #104
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
This fixes a convergence issue when the trailing diagonal element is zero in the bidiagonal input matrix. Fixes #104
This fixes a convergence issue when the trailing diagonal element is zero in the bidiagonal input matrix. Fixes #104
Thanks for reporting this. I believe I've identified the root cause of this and the fix should be on master soon. I'll tag a patch release so it would be great if you could test it out. |
This fixes a convergence issue when the trailing diagonal element is zero in the bidiagonal input matrix. Fixes #104
I encountered several similar failures with non-full rank matrices. The provided example was that one with the smallest dimensions. I will provide you a feedback to confirm that the new planed patch release correctly works with my examples. |
Thanks. The patch release is available in the registry. Hopefully it will work now. If not please let me know and I'll look into it. |
Here is a simple example which fails on my computer:
|
I updated to the latest version. Here is an example which is still not working:
|
I found some time tonight to reread https://netlib.org/lapack/lawnspdf/lawn03.pdf and I think I found the issue here. Each time you hit a zero diagonal and deflate, you should recompute an estimate of the smallest remaining singular value and I didn't do that. I've modified the algorithm with such a recalculation in #108 so hopefully things are now working. It would helpful if you could try to break it with more of your matrices. |
I performed successfully all tests, where previously error occured. Many thanks for your help to fix this issue. |
Uh oh!
There was an error while loading. Please reload this page.
The following computation of a SVD decomposition runs forever on my Windows computer:
These are the singular values for
Float64
data:testt.zip
The text was updated successfully, but these errors were encountered: