Code
A
- An element
is thence called a codeword. - The Hamming distance
between codewords is the number of positions in which they differ, and makes a metric space. - The weight of a code is the distance from the zero-codeword
, where consists of some distinguished letter .
Following van Lint, a code if length
Further notions
- The minimum distance of a non-unary code
is
- The minimum weight of a non-unary code is
- The information rate of a
-ary code of length is - The covering radius of a a code
is the minimum radius required for Hamming balls around codewords to cover the whole space, i.e. - Equivalence of codes
Special kinds of code
Footnotes
-
1999. Introduction to coding theory, §3.1, pp. 33–34 ↩