In
coding theory
Coding theory is the study of the properties of codes and their respective fitness for specific applications. Codes are used for data compression, cryptography, error detection and correction, data transmission and computer data storage, data sto ...
, the weight enumerator polynomial of a binary
linear code
In coding theory, a linear code is an error-correcting code for which any linear combination of Code word (communication), codewords is also a codeword. Linear codes are traditionally partitioned into block codes and convolutional codes, although t ...
specifies the number of words of each possible
Hamming weight
The Hamming weight of a string (computer science), string is the number of symbols that are different from the zero-symbol of the alphabet used. It is thus equivalent to the Hamming distance from the all-zero string of the same length. For the mo ...
.
Let
be a binary linear code of length
. The weight distribution is the sequence of numbers
:
giving the number of
codewords ''c'' in ''C'' having weight ''t'' as ''t'' ranges from 0 to ''n''. The weight enumerator is the bivariate
polynomial
In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
:
Basic properties
#
#
#
#
MacWilliams identity
Denote the
dual code of
by
:
(where
denotes the vector
dot product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
and which is taken over
).
The MacWilliams identity states that
:
The identity is named after
Jessie MacWilliams.
Distance enumerator
The distance distribution or inner distribution of a code ''C'' of size ''M'' and length ''n'' is the sequence of numbers
:
where ''i'' ranges from 0 to ''n''. The distance enumerator polynomial is
:
and when ''C'' is linear this is equal to the weight enumerator.
The outer distribution of ''C'' is the 2
''n''-by-''n''+1 matrix ''B'' with rows indexed by elements of GF(2)
''n'' and columns indexed by integers 0...''n'', and entries
:
The sum of the rows of ''B'' is ''M'' times the inner distribution vector (''A''
0,...,''A''
''n'').
A code ''C'' is regular if the rows of ''B'' corresponding to the codewords of ''C'' are all equal.
References
*
*
* {{cite book , author=J.H. van Lint , title=Introduction to Coding Theory , edition=2nd , publisher=
Springer-Verlag
Springer Science+Business Media, commonly known as Springer, is a German multinational publishing company of books, e-books and peer-reviewed journals in science, humanities, technical and medical (STM) publishing.
Originally founded in 1842 in ...
, series=
GTM , volume=86 , date=1992 , isbn=3-540-54894-7 , url-access=registration , url=https://archive.org/details/introductiontoco0000lint Chapters 3.5 and 4.3.
Coding theory
Error detection and correction
Mathematical identities
Polynomials