"Source: Text/Code/CodeAdd.text";
"Line: 121";
"Date: Tue Jun  7 22:27:15 2016";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Code/CodeAdd.text, line: 121
// Example: H166E1 ()
print "Example: H166E1";
ei := GetEchoInput();
SetEchoInput(true);
F<w> := GF(4);
G := Matrix(F, 2, 3, [1,0,w^2,0,w,0]);
G;
C1 := LinearCode(G);
C2 := AdditiveCode(GF(2), G);
#C1;
assert $1 eq 16;
#C2;
assert $1 eq 4;
C2 subset C1;
assert $1;
{ v : v in C2 };
SetEchoInput(ei);
