dual code
Let be a linear code of block length over the finite field. Then the set
is the dual code of . Here, denotes either thestandard dot product or the Hermitian dot product.
This definition is reminiscent of orthogonal complements of http://planetmath.org/node/5398finitedimensional vector spaces
over the real or complex numbers
. Indeed, is also a linear code and it is true that if is thehttp://planetmath.org/node/5398dimension
of , then the of is . It is, however, not necessarily true that. For example, if is the binary code of blocklength http://planetmath.org/node/806spanned by the codeword then ,that is, . In fact, equals in thiscase. In general, if , is calledself-dual. Furthermore is called self-orthogonal if.
Famous examples of self-dual codes are the extended binary Hammingcode of block length and the extended binary Golay code of blocklength .