lalib/tests/elements
Alexander Hess 3cecf0d989
Add GF2 type for Galois field elements
- add `GF2` class in the `lalib.elements` sub-package
  implementing a typical Galois field with two elements
- the singleton objects `one` and `zero` are the concrete
  instances of the `GF2` type for the end users
- besides the typical Galois arithmetic, `one` and `zero`
  behave like the built-in numbers `1` and `0`
  and implement the `numbers.Rational` interface
- add exhaustive docstrings with usage examples
- add (unit) test cases with 100% coverage
2024-09-18 18:04:35 +02:00
..
__init__.py Add lalib.elements sub-package 2024-09-10 11:53:17 +02:00
test_gf2.py Add GF2 type for Galois field elements 2024-09-18 18:04:35 +02:00