> < ^ Date: Wed, 21 Nov 2001 09:22:41 +0100 (MET)
> < ^ From: Jan Draisma <Jan.Draisma@unibas.ch >
< ^ Subject: Re: Vectors as elements

Dear GAP forum,

>    Dear GAP Forum,
>    How can I convert a vector (or a list) of length n with entries in GF(2) 
> to an element of GF(2^n)?
This depends on your basis of GF(2^n) over GF(2).

Supposing that you want to work with the following basis of GF(32):
and that you want the following list to be converted:
You can simply call:
The same works if you replace l by z(32)^0*l, i.e., if l consists of
elements of GF(2).

Best regards,


Miles-Receive-Header: reply

> < [top]