get_primitive_poly - Get primitive poly for the specified prime power Galois field.
get_primitive_poly ?-gf gf?
get_primitive_poly returns the characteristic irreducible polynomial that has been used to create
the specified prime power Galois field. If $p
is some prime polynomial and $gf
is a field created
using set gf [gfpp $p]
command, get_primitive_poly $gf
will return $p
.
-gf gf | Galois field (Java reflection object), optional. Prime power Galois field. If the parameter is omitted, the field previously set by set_default_gf is used. |
Polynomial (Java reflection object).
get_primitive_poly -gf 8
Displays the default polynomial, used to create GF(8), which is x3 + x + 1.