Question: Matrix operations over finite fields?

If the finite field is Zp (p a prime) then it's easy. But what if the field is say, GF(2,3,x^3+x+1)? Suppose, for example, I entered: r:=rand(8): G:=GF(2,3,x^3+x+1): M:=Matrix(3,3,(i,j)->G[ConvertIn](x^r())); How would I invert M (over the field G); multiply M by another matrix, and so on? Can I do this with the Domains package? Thanks, Alasdair
Please Wait...