Finds the primitive polynomials in GF(2^m).
The first form of this function returns the default primitive polynomial of GF(2^m). This is the minimum primitive polynomial of the field. The polynomial representation is printed and an integer representation of the polynomial is returned
The call primpoly (m, opt)
returns one or more primitive
polynomials. The output of the function is dependent of the value of opt.
Valid values of opt are:
"all"
Returns all of the primitive polynomials of GF(2^m)
"min"
Returns the minimum primitive polynomial of GF(2^m)
"max"
Returns the maximum primitive polynomial of GF(2^m)
Returns the primitive polynomials having exactly k non-zero terms
The call primpoly (…, "nodisplay")
disables the output of
the polynomial forms of the primitives. The return value is not affected.
See also: gf, isprimitive.
Package: communications