Previous Up Next

6.34.19  Factoring a polynomial with coefficients in a Galois field: factor

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


Examples.

factor can also factorize a univariate polynomial with coefficients in a Galois field.
Input (for example to have G=F4):

G:=GF(2,2,[’w’,’G’])

Output:

GF(2,w^2+w+1,[w,G],undef)

Input (for example):

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

Output:

(G(w+1))*(x+G(w+1))^2

Previous Up Next