[GAP Forum] How to work in the two-element field F_2 in GAP.

Sandeep Murthy sandeepr.murthy at gmail.com
Mon Dec 31 11:58:38 GMT 2012


Hi,

Creating finite fields is described in section 59.3 of
the GAP reference manual.

GaloisField(2) (also GF(2)) will get you the field of
two elements 0,1.

Sandeep.


Jianrong Li wrote:
> Dear Forum,
>
> I want to work over the field F_2 with only two elements 0, 1. 1+1=0.
>
> I have matrices with entries 0, 1. The multiplication of the matrices are
> over F_2.
>
> I would like to define the default field as F_2. How could I do that in GAP?
>
> I tried DefaultField(Z(2)). But it seems that this doesn't work.
>
> Thank you very much.
>
> Best wishes,
> Jianrong.
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum



More information about the Forum mailing list