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
Fix and upgrade double dense matrix QR decomposition #10795
Comments
Author: Rob Beezer |
comment:1
Just one change to the code, to return an identity matrix in a trivial case. Everything else is documentation. Unfortunately, this file is not included in the documentation (yet). You can check that it builds without warnings, then look at it in the notebook to verify the contents and appearance. |
Reviewer: Martin Raum |
comment:2
Everything is OK with this patch. |
Merged: sage-4.7.2.alpha2 |
Changed merged from sage-4.7.2.alpha2 to none |
comment:5
On various systems, there are doctest failures: hawk (OpenSolaris 06/2009 i86pc Xeon W3580):
bsd (OS X 10.8.0 x86_64) 64-bit:
cleo (RHEL 5.3 ia64 Itanium 2):
|
comment:6
It seems that this patch causes failures in a
|
This comment has been minimized.
This comment has been minimized.
comment:8
"numerical" patch applies accumulated techniques for these numerical computations and should address the doctest failures. |
Changed keywords from none to sd40.5 |
This comment has been minimized.
This comment has been minimized.
comment:21
This looks good, and I think it is reasonable to use the Q as it is. Could you please go over the patch and correct the |
Attachment: trac_10795-QR-decomposition-formatting.patch.gz |
comment:22
Dear Martin, Thanks for participating remotely in Sage Days 40.5. ;-) "formatting" patch is an add-on, so you can see the changes. I did the "OUTPUT" section entirely with math quotes, other than the result objects. The rest is in code quotes. Updated the output description, which needed work. Added some left kernel explanation for Dan Drake, who was also looking at this here at SD 40.5. Thanks again, |
This comment has been minimized.
This comment has been minimized.
Changed reviewer from Martin Raum to Martin Raum, Dan Drake |
comment:23
This is a big improvement over what we previously had. Positive review. Just for the patchbot: apply |
Merged: sage-5.1.beta5 |
comment:25
As reported on sage-devel, this gives doctest failures on OS X Lion, see #13140. |
Changed merged from sage-5.1.beta5 to none |
comment:26
Unmerging due to #13140. |
comment:27
Should this be marked "positive review" again, since #13140 is ready? |
comment:28
Replying to @jhpalmieri:
I think so. If that was the only reason this got unmerged, and that ticket is now fixed, this should again be ready. |
Merged: sage-5.2.beta1 |
The Q matrix of a QR decomposition should be unitary, hence invertible. For zero-column trivial cases, this is broken.
Besides a bugfix this patch will upgrade the documentation to make it clear how this routine works over the complex numbers. In particular,
SciPy
routines are using a Hermitian inner product - documentation upgrade will reflect that.Apply:
CC: @jasongrout @dandrake
Component: linear algebra
Keywords: sd40.5
Author: Rob Beezer
Reviewer: Martin Raum, Dan Drake
Merged: sage-5.2.beta1
Issue created by migration from https://trac.sagemath.org/ticket/10795
The text was updated successfully, but these errors were encountered: