Content deleted Content added
Fixing header errors per the Manual of Style |
|||
Line 1:
{{dablink|This article discusses an algorithm for factorisation of polynomials over finite fields. For the algorithm dealing with LFSRs see [[Berlekamp-Massey algorithm]].}}
In [[mathematics]], particularly [[computer algebra|computational algebra]], Berlekamp's algorithm is a well-known method for factorising [[polynomial]]s over [[finite field]]s (also known as ''Galois fields''). The algorithm consists mainly of [[
==Overview==
Berlekamp's algorithm takes as input a square-free polynomial <math>f(x)</math> (i.e. one with no repeated factors) of degree <math>n</math> with coefficients in a finite field <math>\mathbb{F}_q</math> and gives as output a polynomial <math>g(x)</math> with coefficients in the same field such that <math>g(x)</math> divides <math>f(x)</math>. The algorithm may then be applied recursively to these and subsequent divisors, until we find the decomposition of <math>f(x)</math> into powers of [[irreducible polynomial
All possible factors of <math>f(x)</math> are contained within the [[factor ring]]
Line 33:
==Applications==
One important application of Berlekamp's algorithm is in computing [[discrete logarithm
==Implementation in Computer Algebra Systems==
Berlekamp's algorithm may be accessed in the GP-PARI package using the [http://pari.math.u-bordeaux.fr/dochtml/html.stable/Arithmetic_functions.html#factormod factormod] command.
==See
*[[Polynomial factorization|Polynomial factorisation]]
*[[Cantor-Zassenhaus algorithm]]
|