field (C)
Given a code C, returns the field (or ring) that contains the entries of the generator matrix of C.
i1 : F=GF(4,Variable=>a);
i2 : C=linearCode(matrix{{1,a,0},{0,1,a}});
i3 : field C o3 = F o3 : GaloisField
The object field is a method function.