-
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
Simplify and fix similar
and zero
for our matrix types
#1890
Merged
Commits on Nov 8, 2024
-
Simplify and fix
similar
for our matrix typesRemove the internal helper `_similar` which untangles the `MatElem` and `MatRingElem` code further and makes it easier to see what's going on. Also change `similar` for `MatElem` to default to calling `zero_matrix`. With this `similar(::ZZMatrix)` in Nemo returns a new `ZZMatrix` instead of a `AbstractAlgebra.Generic.MatSpaceElem{ZZRingElem}`.
Configuration menu - View commit details
-
Copy full SHA for addab0c - Browse repository at this point
Copy the full SHA addab0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for edf1130 - Browse repository at this point
Copy the full SHA edf1130View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d64442 - Browse repository at this point
Copy the full SHA 8d64442View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcdee6b - Browse repository at this point
Copy the full SHA bcdee6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23d055c - Browse repository at this point
Copy the full SHA 23d055cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7da828 - Browse repository at this point
Copy the full SHA f7da828View commit details
Commits on Nov 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cea07e2 - Browse repository at this point
Copy the full SHA cea07e2View commit details -
Restore similar/zero method for MatRingElem with row *and* column arg
These don't really make much sense and I suggest we deprecate them in the future but for now I want to keep it simple.
Configuration menu - View commit details
-
Copy full SHA for 71d6f09 - Browse repository at this point
Copy the full SHA 71d6f09View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd156e4 - Browse repository at this point
Copy the full SHA fd156e4View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.