- property sdr.GLFSR.field : type[FieldArray]
The
FieldArray
subclass for the finite field that defines the linear arithmetic.Examples¶
In [1]: c = galois.primitive_poly(7, 4); c Out[1]: Poly(x^4 + x^2 + 3x + 5, GF(7)) In [2]: lfsr = sdr.GLFSR(c); lfsr Out[2]: <Galois LFSR: c(x) = x^4 + x^2 + 3x + 5 over GF(7)> In [3]: lfsr.field Out[3]: <class 'galois.GF(7)'>