galois.GLFSR(feedback_poly: Poly, state: ArrayLike | None = None) Constructs a Galois LFSR from its feedback polynomial f(x). Parameters:¶ feedback_poly: Poly¶The feedback polynomial f(x)=−c0xn−c1xn−1−⋯−cn−2x2−cn−1x+1. state: ArrayLike | None = None¶The initial state vector S=[S0,S1,…,Sn−2,Sn−1]. The default is None which corresponds to all ones. See also irreducible_poly, primitive_poly Notes¶ A Galois LFSR may be constructed from its characteristic polynomial c(x) by passing in its reciprocal as the feedback polynomial. This is because f(x)=xnc(x−1).