- galois.FLFSR.__repr__() str
A terse representation of the Fibonacci LFSR.
Examples¶
In [1]: feedback_poly = galois.primitive_poly(7, 4).reverse(); feedback_poly Out[1]: Poly(5x^4 + 3x^3 + x^2 + 1, GF(7)) In [2]: lfsr = galois.FLFSR(feedback_poly) In [3]: lfsr Out[3]: <Fibonacci LFSR: f(x) = 1 + x^2 + 3x^3 + 5x^4 over GF(7)>