Weight-two code[1]
Description
A length-\(n\) binary code whose codewords all have Hamming weight two. Such codes provide slightly extra redundancy for storage of small-scale information such as ZIP codes or decimal digits.Cousin
- Two-weight code— Codewords of two-weight codes have one of two possible Hamming weights, while those of weight-two codes have Hamming weight two.
Member of code lists
Primary Hierarchy
Parents
Weight-two code
Children
References
- [1]
- R. W. Hamming, Letter, April 5, 1978.
Page edit log
- Victor V. Albert (2022-08-12) — most recent
Cite as:
“Weight-two code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2022. https://errorcorrectionzoo.org/c/weight_two