Berlekamp–Massey algorithm
- Berlekamp–Massey algorithm
The Berlekamp–Massey algorithm is an algorithm for finding the shortest linear feedback shift register (LFSR) for a given output sequence. Equivalently, it is an algorithm for finding the minimal polynomial of a linearly recurrent sequence.
The algorithm was invented by Elwyn Berlekamp in 1968. Its connection to linear codes was observed by James Massey the following year. It became the key to practical application of the now ubiquitous Reed–Solomon code.
The algorithm
#Let be the bits of the stream.
#Initialise three arrays , and each of length to be zeroes, except ; assign .
#While is less than :
#*Let be .
#*If is zero, then is already a polynomial which annihilates the portion of the stream from to ; increase by 1 and continue.
#*If is 1, then:
#** Let be a copy of .
#** Set up to (where is the Exclusive or operator).
#** If , set , set , and let ; otherwise leave , and alone.
#**Increment and continue.
At the end of the algorithm, is the length of the minimal LFSR for the stream, and we have for all .
External links
* [http://planetmath.org/encyclopedia/BerlekampMasseyAlgorithm.html Berlekamp–Massey algorithm] at PlanetMath.
*
* [http://modp.com/release/mma_lfsr/ Implementation in Mathematica]
* [http://www.informationsuebertragung.ch/indexAlgorithmen.html Applet Berlekamp–Massey algorithm]
Wikimedia Foundation.
2010.
Look at other dictionaries:
Elwyn Berlekamp — Infobox Scientist name = Elwyn R Berlekamp |185px image width = 125px birth date = Birth date and age|1940|9|6 death date = residence = USA alma mater = MIT field = Information theory, Coding theory, Combinatorial game theory known for =… … Wikipedia
Block Wiedemann algorithm — The Block Wiedemann algorithm for computing kernel vectors of a matrix over a finite field is a generalisation of an algorithm due to Don Coppersmith. Coppersmith s algorithm Let M be an n imes n square matrix over some finite field F, let x… … Wikipedia
Elwyn Berlekamp — Elwyn Ralph Berlekamp Naissance 6 septembre 1940 Dover (Ohio) (en … Wikipédia en Français
James Massey — James Lee Massey (born in 1934 in Wauseon, Ohio) is an information theorist andcryptographer, Professor Emeritus of Digital Technology at ETH Zurich. His notable workincludes the application of the Berlekamp Massey algorithm to linear codes, the… … Wikipedia
Reed-Sloane algorithm — The Reed Sloane algorithm is an extension of the Berlekamp Massey algorithm for use on sequences that take their values from the integers mod n … Wikipedia
James Lee Massey — (* 11. Februar 1934 in Wauseon, Ohio) ist ein Informationstheoretiker und Kryptologe. Er war Professor an der ETH Zürich. Seine bedeutendste Arbeiten waren die Entwicklung des Berlekamp Massey Algorithmus, der Entwurf des… … Deutsch Wikipedia
Reed–Solomon error correction — Reed Solomon error correction is an error correcting code that works by oversampling a polynomial constructed from the data. The polynomial is evaluated at several points, and these values are sent or recorded. Sampling the polynomial more often… … Wikipedia
BCH code — In coding theory the BCH codes form a class of parameterised error correcting codes which have been the subject of much academic attention in the last fifty years. BCH codes were invented in 1959 by Hocquenghem, and independently in 1960 by Bose… … Wikipedia
List of mathematics articles (B) — NOTOC B B spline B* algebra B* search algorithm B,C,K,W system BA model Ba space Babuška Lax Milgram theorem Baby Monster group Baby step giant step Babylonian mathematics Babylonian numerals Bach tensor Bach s algorithm Bachmann–Howard ordinal… … Wikipedia
Иохвидов, Иосиф Семёнович — Иосиф Семёнович Иохвидов Дата рождения … Википедия