"Source: Text/Code/CodeFld.text";
"Line: 2197";
"Date: Tue May 30 11:26:03 2023";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Code/CodeFld.text, line: 2197
// Example: H161E21 ()
print "Example: H161E21";
ei := GetEchoInput();
SetEchoInput(true);
R<t> := PolynomialRing(GF(3));
C := CyclicCode(11, t^5 + t^4 + 2*t^3 + t^2 + 2);
W<x, y> := WeightEnumerator(C);        
W;
CW<u, v, w> := CompleteWeightEnumerator(C);
CW;
u := AmbientSpace(C)![0,0,0,0,0,0,0,0,0,0,1];
Wu := WeightEnumerator(C, u);
Wu;
SetEchoInput(ei);
