-
Notifications
You must be signed in to change notification settings - Fork 160
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
Bug in NullspaceModQ #3614
Comments
One option would be to just ditch the current implementation and use this code instead (which then also works for arbitrary moduli): NullspaceModN := function(M, n)
local B, coeffs;
B := BasisNullspaceModN(M, n);
coeffs := Cartesian(ListWithIdenticalEntries(Length(B), [0..n-1]));
return Set(coeffs, c -> c * B mod n);
end; Alas, perhaps Of course one could also instead improve |
I am not sure whether |
Fixes gap-system#3614 and adds a manual example demonstrating the fixed behavior. The old name NullspaceModQ is kept as an alias for backwards compatibility. Also updated the documentation for NullspaceModN and BasisNullspaceModN.
Fixes #3614 and adds a manual example demonstrating the fixed behavior. The old name NullspaceModQ is kept as an alias for backwards compatibility. Also updated the documentation for NullspaceModN and BasisNullspaceModN.
Fixes #3614 and adds a manual example demonstrating the fixed behavior. The old name NullspaceModQ is kept as an alias for backwards compatibility. Also updated the documentation for NullspaceModN and BasisNullspaceModN.
The following was reported on https://math.stackexchange.com/questions/3329100:
But it really should return the list
[ [0], [4] ]
.The text was updated successfully, but these errors were encountered: