FFList( F )
returns for a finite field F a list l of all elements of F in an ordering that is compatible with the ordering of field elements in the MeatAxe share library (see chapter The MeatAxe).
The element of F corresponding to the number n is
l[ n+1 ]
,
and the canonical number of the field element z is
Position( l, z ) -1
.
gap> FFList( GF( 8 ) ); [ 0*Z(2), Z(2)^0, Z(2^3), Z(2^3)^3, Z(2^3)^2, Z(2^3)^6, Z(2^3)^4, Z(2^3)^5 ]
(This program was originally written by Meinolf Geck.)
GAP 3.4.4