Previous Up Next

11.8.19  Factoring a polynomial with coefficients in a Galois field

The factor command can factor univariate polynomials with coefficients in a Galois field.

Example

The command factor can factorize a univariate polynomial with coefficients in a Galois field. For example, to have G=F4, input:

G:=GF(2,2,['w','G'])
     
GF
2,w2+w+1,
w,G
,undef
          

Now input, for example:

a:=G(w):; factor(a^2*x^2+1)
     
G
w
2 x2+1
          

Previous Up Next