property galois.BCH.field : Type[FieldArray]

The FieldArray subclass for the \(\mathrm{GF}(2^m)\) field that defines the BCH code.

Examples

In [1]: bch = galois.BCH(15, 7); bch
Out[1]: <BCH Code: [15, 7, 5] over GF(2)>

In [2]: bch.field
Out[2]: <class 'galois.GF(2^4)'>

In [3]: print(bch.field)
<class 'galois.GF(2^4)'>

Last update: Jul 28, 2022