A field is represented by a record that contains important information
about this field. The GAP library predefines some field records, for
example Rationals
(see Rationals). Field constructors construct
others, for example Field
(see Field), and GaloisField
(see
GaloisField). Of course you may also create such a record by hand.
All field records contain the components isDomain
, isField
, char
,
degree
, generators
, zero
, one
, field
, base
, and dimension
.
They may also contain the optional components isFinite
, size
,
galoisGroup
. The contents of all components of a field F are
described below.
isDomain
:true
. This indicates that F is a domain.
isField
:true
. This indicates that F is a field.
char
:
degree
:F.char^ F.degree
.
generators
:F.char
that
contains the elements of F.generators
.
zero
:
one
:
field
:F.char
,
denoting the prime field (see Fields over Subfields).
base
:
dimension
:
isFinite
:true
if the field F is finite and false
otherwise.
size
:
galoisGroup
:GAP 3.4.4