-
Notifications
You must be signed in to change notification settings - Fork 163
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
Inverse of a non-invertible matrix over the integers is a (non-integer) integer matrix #4884
Comments
Here's another example of an integer matrix with non-integer entries:
Again maybe this is the intended behaviour, but this is unexpected, I'd have expected this to throw an error. |
This is an interesting question: What should |
Concerning the example The first example is more subtle. Again, the documentation should be made precise about what shall happen. The role of the
If both |
I agree with @ThomasBreuer, I think the "correct" behaviour would be for |
That seems to indicate that we should introduce |
Seems completely reasonable to me @hulpke, it's what we did in |
I agree with @ThomasBreuer and @james-d-mitchell regarding what should happen. I like the idea of |
Likewise |
I submitted issue #4891 to remind us of this |
In the current GAP master branch I get the following, inverting a non-invertible integer
MatrixObj
results in a matrix that believes it is an integer matrix but whose entries are not integers.Observed behaviour
Expected behaviour
or perhaps at a stretch:
The text was updated successfully, but these errors were encountered: