The factor command can factor univariate polynomials with coefficients in a Galois field.
factor(expr,α) returns expr factored over F[α], where F is the field of coefficients of expr.
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']) |
|
Now input, for example:
a:=G(w):; factor(a^2*x^2+1) |
|