From Wikipedia, the free encyclopedia
In mathematics, the weight enumerator of a binary linear code
of length
is defined to be

where

is defined to be the number of codewords c in C having Hamming weight
.
Basic properties




MacWilliams identity
Denote the dual code of
by

(where
denotes the vector dot product and which is taken over
).
The MacWilliams identity states that

The identity is named after Jessie MacWilliams.
References