A binary linear code of length is a vector subspace . The Hamming weight of a word counts its nonzero coordinates, and the code weight is ; for a linear code this equals its minimum distance. One may assign infinite minimum weight to the zero code when needed.
For length- codes with , the bar product of binary linear codes is
It is a linear code because this map from is linear and injective. For a nonzero codeword, if then and its weight is . If , every nonzero coordinate of makes exactly one of the corresponding coordinates of nonzero; hence
Taking the minimum gives
In fact equality holds when the codes are nonzero: minimum-weight words and attain the two candidate weights.

Articles by others on the same topic (0)

There are currently no matching articles.