print_prime_polys - Print the list of irreducible polynomials into a string.
print_prime_polys ?-gf gf? degree
print_prime_polys is a convenience command for printing the list of irreducible polynomials.
Thus, print_prime_polys -gf [gf $q] $n
replaces the following code:
set str ""
foreach prime [list_prime_polys -gf [gf $q] $n] {
set str "$str[print_poly $prime]\n"
}
return $str
-gf gf | Galois field (Java reflection object), optional. Galois field, over which the polynomials are computed. If the parameter is omitted, the field previously set by set_default_gf is used. |
degree | Integer. Degree of the polynomials to list. |
String. List of polynomials as a string.
print_prime_polys -gf [gf 2] 3
Prints all irreducible polynomials of degree 3 over GF(2).