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
Upgrade unitary check for RDF/CDF matrices #11306
Comments
This comment has been minimized.
This comment has been minimized.
comment:1
Attachment: trac_11306-upgrade-unitary-matrix-check.patch.gz For the patchbot: Depends on 11027, 10848, 11277 |
Author: Rob Beezer |
Dependencies: 11027, 10848, 11277 |
Changed keywords from none to days30 |
comment:5
Looks good and passes doctests |
Reviewer: David Loeffler |
comment:6
There is some misformatting of the documentation (check http://sagemath.org/doc/developer/conventions.html#documentation-strings for a template):
|
comment:7
Attachment: trac_11306-docfix.patch.gz Two of these aren't related to this ticket (I guess you were testing this and #11104 at the same time). The other one is fixed by the single-character patch above. |
comment:8
Dear David, Gotta love those one-character patches. I'll get this reviewed as well. Thanks for plowing though the "needs_rewview" backlog. Rob |
This comment has been minimized.
This comment has been minimized.
comment:10
Positive review. I'm inclined to just leave the author/reviewer fields as-is, but if David wants to double them up, that's fine too. Thanks for the review, David. |
Merged: sage-5.0.beta9 |
This is an upgrade of the
is_unitary()
method, based on experience buildingis_normal()
,is_hermitian()
. (#10848, #11104)One test is discovering a bug elsewhere (#11248), so needs to be adjusted slightly to preserve that discovery, though at this writing, the test is disabled (#11277).
(a) Adds a "orthonormal" variant, which is now the default, based on the Schur decomposition, an idea used in the other two methods, but not considered here previously.
(b) Makes the existing naive algorithm a bit more efficent by using the break command twice.
(c) Fixes an ommission in the naive algorithm where the loop on
i
previously did not start at zero.(d) Upgraded error-checking on tolerance parameter.
(e) Docstring upgraded to reflect changes above.
Depends on:
Apply:
Depends on #11027
Depends on #10848
Depends on #11277
CC: @jasongrout
Component: linear algebra
Keywords: days30
Author: Rob Beezer
Reviewer: David Loeffler
Merged: sage-5.0.beta9
Issue created by migration from https://trac.sagemath.org/ticket/11306
The text was updated successfully, but these errors were encountered: