Dual code
In coding theory, the dual code of a linear code
is the linear code defined by
where
and p is the characteristic of Fq. In linear algebra terms, the dual code is the annihilator of C with respect to the bilinear form <,>. The dimension of C and its dual always add up to n:
A generator matrix for the dual code is a parity-check matrix for the original code and vice versa. The dual of the dual code is always the original code.
For binary codes, the dual code consists of all code words, as binary strings, that have 1s in places overlapping the 1s in each word from C always at an even number of locations.
Self-dual codes
A self-dual code is one which is its own dual. This implies that n is even and dim C = n/2. Self-dual codes can be classified into four types[1]:
- Type I codes are binary self-dual codes which are not doubly-even. Type I codes are always even (every codeword has even Hamming weight).
- Type II codes are binary self-dual codes which are doubly-even.
- Type III codes are ternary self-dual codes. Every codeword in a Type III code has Hamming weight divisible by 3.
- Type IV codes are self-dual codes over F4. These are again even.
Codes of types I, II, III, or IV exist only if the length n is a multiple of 2, 8, 4, or 2 respectively.
References
- ^ Conway, J.H. (1988). Sphere packings, lattices and groups. Grundlehren der mathematischen Wissenschaften. Vol. 290. Springer-Verlag. p. 77. ISBN 0-387-96617-X.
{{cite book}}
: Unknown parameter|coauthors=
ignored (|author=
suggested) (help)
- J.H. van Lint (1992). Introduction to Coding Theory. GTM. Vol. 86 (2nd ed ed.). Springer-Verlag. p. 34. ISBN 3-540-54894-7.
{{cite book}}
:|edition=
has extra text (help)