Bill Allombert on Fri, 19 Dec 2014 19:29:39 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Bijection {0,1,...,q-1} <--> GF(q)


On Fri, Dec 19, 2014 at 06:40:57PM +0100, Josef Eschgfaeller wrote:
> After
> --------------------------------------------------
> q=3^8
> t=ffgen(q,t)
> u=t^2+3*t+1
> v=u^5
> --------------------------------------------------
> one has v = t^7 + 2*t^6 + 2*t^5 + 2*t^3 + t^2 + 2*t.
> Is there a way to extract from v the coordinate vector
> (1,2,2,0,2,1,2,0)?

Yes, you can do
? Vec(v.pol)
%143 = [1,2,2,0,2,1,2,0]

Cheers,
Bill.