Berlekamp–Massey algorithm: Difference between revisions