We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import numpy as np import galois x = galois.GF2([1, 0, 1]) print(x) x = np.left_shift(x, 1) print(x)
$ python3 test_left_shift.py [1 0 1] [2 0 2] # Should error
The text was updated successfully, but these errors were encountered:
import numpy as np import galois x = galois.GF2([1, 0, 1]) print(x) x = np.bitwise_or(x, 0b10) print(x)
$ python3 test_bitwise_or.py [1 0 1] [3 2 3] # Should error
Sorry, something went wrong.
Maybe use _view() instead of _view_without_verification() for operations that could expand the bit depth.
_view()
_view_without_verification()
No branches or pull requests
The text was updated successfully, but these errors were encountered: