weight enumerator (Complete):
Index the finite field GF(q) in some fixed way: The complete weight enumerator polynomial AC is defined by
WC(z0, ..., zq-1)
= Σ i=0
W_C(z0,\dots ,z_{q-1})
= Σ c in C
z0s0(c) ... zq-1sq-1(c)
= Σs in ZZq
T_C(s)z0s0 ... zq-1sq-1.
Here ZZ denotes the ring of integers.
Fact: If x = z0 and y = z1 = ... = zq-1 then WC(z0, ..., zq-1) = AC(x,y).
weight enumerator (Hamming):
The (Hamming) weight enumerator polynomial AC is defined by
AC(x,y)
= Σ i=0
n Ai xn-iyi
= xn + Ad xn-dyd+ ... +An yn,
where
Ai = |{c in C | wt(c)=i}|
denotes the number of codewords of weight i. Of course, AC(1,1)
= |C|.
See also weight enumerator at Wikipedia.