Hamming space
equals the Hamming distance between the strings.[src] In statistics and coding theory, a Hamming space is usually the set of all 2^N binary strings of length N, where different binary strings are considered to be adjacent when they differ only in one position.[src] The total distance between any two binary strings is then the total number of positions at which the corresponding bits are different, called the Hamming distance.[src] Hamming spaces are named after American mathematician Richard Hamming, who introduced the concept in 1950.[src] They are used in the theory of coding signals and transmission.[src] More generally, a Hamming space can be defined over any alphabet (set) Q as the set of words of a fixed length N with letters from Q.[src] If Q is a finite field, then a Hamming space over Q is an N-dimensional vector space over Q.[src] In the typical, binary case, the field is thus GF(2) (also denoted by Z 2 ).[src] In coding theory, if Q has q elements, then any subset C (usually assumed of cardinality at least two) of the N-dimensional Hamming space over Q is called a q-ary code of length N; the elements of C are called codewords.[src] In the case where C is a linear subspace of its Hamming space, it is called a linear code.[src] A typical example of linear code is the Hamming code.…[src]
equals the Hamming distance between the strings.]] In statistics and coding theory, a Hamming space is usually the set of all 2^N binary strings of length N, where different binary strings are considered to be adjacent when they differ only in one position.[src] The total distance between any two binary strings is then the total number of positions at which the corresponding bits are different, called the Hamming distance.[src] Hamming spaces are named after American mathematician Richard Hamming, who introduced the concept in 1950.[src] They are used in the theory of coding signals and transmission.[src] More generally, a Hamming space can be defined over any alphabet (set) Q as the set of words of a fixed length N with letters from Q.[src] If Q is a finite field, then a Hamming space over Q is an N-dimensional vector space over Q.[src] In the typical, binary case, the field is thus GF(2) (also denoted by Z 2 ).[src] In coding theory, if Q has q elements, then any subset C (usually assumed of cardinality at least two) of the N-dimensional Hamming space over Q is called a q-ary code of length N; the elements of C are called codewords.[src] In the case where C is a linear subspace of its Hamming space, it is called a linear code.[src] A typical example of linear code is the Hamming code.[src] Codes defined via a Hamming space necessarily have the same length for every codeword, so they are called block codes when it is necessary to distinguish them from variable-length codes that are defined by unique factorization on a monoid.[src] The Hamming distance endows a Hamming space with a metric, which is essential in defining basic notions of coding theory such as error detecting and error correcting codes.[src] Hamming spaces over non-field alphabets have also been considered, especially over finite rings (most notably over Z 4 ) giving rise to modules instead of vector spaces and ring-linear codes (identified with submodules) instead of linear codes.[src] The typical metric used in this case the Lee distance.[src] There exist a Gray isometry between \mathbb{Z}_2^{2m} (i.e.[src] GF(2 2m )) with the Hamming distance and \mathbb{Z}_4^m (also denoted as GR(4,m)) with the Lee distance.[src] ==References==[src]
28 sentences · 28 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Hamming space." encyclopegia.org, 2026, https://encyclopegia.org/wiki/hamming-space. Accessed 28 November 2026.
Chicago
"Hamming space." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/hamming-space.
APA
encyclopegia.org. (2026). Hamming space. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/hamming-space
Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON