encyclopegia.org

dual code

In coding theory, the dual code of a linear code : C\subset\mathbb{F}_q^n is the linear code defined by : C^\perp = \{x \in \mathbb{F}_q^n \mid \langle x,c\rangle = 0\;\forall c \in C \} where : \langle x, c \rangle = \sum_{i=1}^n x_i c_i is a scalar product. In linear algebra terms, the dual code is the annihilator of C with respect to the bilinear form \langle\cdot\rangle . The dimension of C and its dual always add up to the length n: : \dim C + \dim C^\perp = n. A generator matrix for the dual code is the parity-check matrix for the original code and vice versa. The dual of the dual code is always the original code.

In coding theory, the dual code of a linear code C\subset\mathbb{F}_q^n is the linear code defined by C^\perp = \{x \in \mathbb{F}_q^n \mid \langle x,c\rangle = 0\;\forall c \in C \} where \langle x, c \rangle = \sum_{i=1}^n x_i c_i is a scalar product. In linear algebra terms, the dual code is the annihilator of C with respect to the bilinear form \langle\cdot\rangle . The dimension of C and its dual always add up to the length n: \dim C + \dim C^\perp = n. A generator matrix for the dual code is the parity-check matrix for the original code and vice versa. The dual of the dual code is always the original code. ==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. If a self-dual code is such that each codeword's weight is a multiple of some constant c > 1 , then it is of one of the following four types: 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 F 4 . 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. If a self-dual code has a generator matrix of the form G=[I_k|A] , then the dual code C^\perp has generator matrix [-\bar{A}^T|I_k] , where I_k is the (n/2)\times (n/2) identity matrix and \bar{a}=a^q\in\mathbb{F}_q . ==References==

References

  1. Conway, J.H. ; Sloane, N.J.A. (1988). Sphere packings, lattices and groups . Grundlehren der mathematischen Wissenschaften. Vol. 290. Springer-Verlag . p. 77 . ISBN 0-387-96617-X . Wikipedia revision 1212907100, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1212907100
    Cite this reference

    MLA "Conway, J.H. ; Sloane, N.J.A. (1988). Sphere packings, lattices and groups . Grundlehren der mathematischen Wissenschaften. Vol. 290. Springer-Verlag . p. 77 . ISBN 0-387-96617-X . Wikipedia revision 1212907100, retrieved 2026-11-18." Conway, J. 2026-11-17. https://en.wikipedia.org/wiki/John_Horton_Conway. Accessed 24 November 2026.

    Chicago "Conway, J.H. ; Sloane, N.J.A. (1988). Sphere packings, lattices and groups . Grundlehren der mathematischen Wissenschaften. Vol. 290. Springer-Verlag . p. 77 . ISBN 0-387-96617-X . Wikipedia revision 1212907100, retrieved 2026-11-18." Conway, J. 2026-11-17. https://en.wikipedia.org/wiki/John_Horton_Conway.

    APA Conway, J. (2026). Conway, J.H. ; Sloane, N.J.A. (1988). Sphere packings, lattices and groups . Grundlehren der mathematischen Wissenschaften. Vol. 290. Springer-Verlag . p. 77 . ISBN 0-387-96617-X . Wikipedia revision 1212907100, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/John_Horton_Conway

Cite this article

MLA

"dual code." encyclopegia.org, 2024, https://encyclopegia.org/wiki/dual-code. Accessed 24 November 2026.

Chicago

"dual code." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/dual-code.

APA

encyclopegia.org. (2024). dual code. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/dual-code

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1212907100 · 0.55 · snapshot dual-code-604762-77869aa5d7b130b3 · QID Q5310189

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.