cyclicCode(F, g, n)
cyclicCode(F, m, n)
A linear code is called cyclic if $(a_{n},a_1,\ldots,a_{n-1})\in C$ for all $(a_1,a_2,\ldots,a_n)\in C$. A cyclic code can be defined by a polynomial.
cyclicCode(F,g,n)
Given a finite field F, an integer n, and a polynomial g in F$[x]\setminus$F that is a divisor of $x^n-1$, this function returns the cyclic code $C$ with generating polynomial g and length n.
If the polynomial g is not a divisor of $x^n-1$, the function returns a code with a circulant matrix as generator matrix.
|
|
|
|
cyclicCode(F, m, n)
If m is a nonzero constant, then this function returns the universal code of length n over the field F.
If m is zero, then this function returns the zero code of length n.
|
|
|
|
The object cyclicCode is a method function.
The source of this document is in CodingTheory.m2:4440:0.