-
-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
12406: move rank checks to _solve_right_nonsingular_square
This avoids checking whether the system is of full rank in `solve_right`/`solve_left`, so that inexact rings can choose to implement different behavior by overwriting `_solve_right_nonsingular_square`. For example, RDF/CDF simply attempt to solve a square system directly, without trying to check whether it is of full rank. If `_solve_right_nonsingular_square` chooses to raise a `ValueError("not of full rank")`, then _solve_right_general` is used as a fallback. The documentation is updated accordingly. This also adjusts a doctest in quivers/morphism.py to work over an exact ring because the doctested method does not work reliably over inexact rings.
- Loading branch information
1 parent
9aa2eb3
commit 988e215
Showing
4 changed files
with
67 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters