-
Notifications
You must be signed in to change notification settings - Fork 63
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
Further solving related adjustments #1598
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1598 +/- ##
==========================================
- Coverage 87.04% 87.02% -0.03%
==========================================
Files 115 115
Lines 29593 29603 +10
==========================================
+ Hits 25760 25762 +2
- Misses 3833 3841 +8 ☔ View full report in Codecov by Sentry. |
Now `kernel(zero_matrix(ZZ, 2, 2))` gives ``` [1 0] [0 1] ``` which certainly looks nicer than ``` [0 1] [1 0] ```
Regarding the structure of the kernel, which do you prefer?
Notice that the functions over |
This is good to go for now. Would be good if we could make a minor release after it is merged because I need it for Hecke. (I can already adjust the version number here, if you want.) |
Yes, please bump the version number. |
This should only be breaking because it tests with Oscar on top of my Hecke |
* Don't call `nullspace` for `RingElem` and add a deepcopy * Rearrange `kernel` a bit Now `kernel(zero_matrix(ZZ, 2, 2))` gives ``` [1 0] [0 1] ``` which certainly looks nicer than ``` [0 1] [1 0] ``` * Add `Solve.kernel(::Ring, ::MatElem)` * Do it right: make `side = :left` the default!
I learned that
nullspace(::RingElement)
returns a "rational nullspace" EXCEPT forZZMatrix
.The output of
Solve.kernel
is still not exactly the same as ofkernel
; I will probably adjust some more.