In information theory, the bar product of two linear codes C<sub>2</sub> â C<sub>1</sub> is defined as
where (a | b) denotes the concatenation of a and b. If the code words in C<sub>1</sub> are of length n, then the code words in C<sub>1</sub> | C<sub>2</sub> are of length 2n.
The bar product is an especially convenient way of expressing the ReedâÂÂMuller RM (d, r) code in terms of the ReedâÂÂMuller codes RM (d − 1, r) and RM (d − 1, r − 1).
The bar product is also referred to as the | u | u+v | construction or (u | u + v) construction.
The rank of the bar product is the sum of the two ranks:
Let be a basis for and let be a basis for . Then the set
is a basis for the bar product .
The Hamming weight w of the bar product is the lesser of (a) twice the weight of C<sub>1</sub>, and (b) the weight of C<sub>2</sub>:
For all ,
which has weight . Equally
for all and has weight . So minimising over we have
Now let and , not both zero. If then:
If then
so