Linear-Code Constructions and Bounds #
This module contains weight/projection lemmas, the singleton bound for arbitrary and linear codes, and basic constructions and dimension/rate facts for linear codes.
Singleton bound for arbitrary codes
A ModuleCode ι F A is an F-linear code of length indexed by ι over the alphabet A,
defined as an F-submodule of ι → A.
Instances For
Module code defined by left multiplication by its generator matrix. For a matrix G : Matrix κ ι F (over field F) and module A over F, this generates the F-submodule of (ι → A) spanned by the rows of G acting on (κ → A). The matrix acts on vectors v : κ → A by: (G • v)(i) = ∑ k, G k i • v k where G k i : F is the scalar and v k : A is the module element.
Instances For
Linear code defined by right multiplication by a generator matrix.
Instances For
Define a linear code from its (parity) check matrix
Instances For
The Hamming distance of a linear code can also be defined as the minimum Hamming norm of a non-zero vector in the code
Instances For
The dimension of a linear code.
Instances For
The length of a linear code.
Instances For
The rate of a linear code.
Instances For
ρ LC is the rate of the linear code LC.
Uses & to make the notation non-reserved, allowing ρ to also be used as a variable name.
Instances For
The minimum taken over the weight of codewords in a linear code.
Instances For
The Hamming distance between codewords equals to the weight of their difference.
The min distance of a linear code equals the minimum of the weights of non-zero codewords.
Singleton bound for linear codes
A computable version of the Hamming distance of a module code MC.