galois.GLFSR.__repr__() str

A terse representation of the Galois 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.GLFSR(feedback_poly)

In [3]: lfsr
Out[3]: <Galois LFSR: f(x) = 1 + x^2 + 3x^3 + 5x^4 over GF(7)>