Forward Error Correction¶
This section contains classes and functions for constructing forward error correction codes.
FEC classes¶
|
A primitive, narrow-sense binary \(\textrm{BCH}(n, k)\) code. |
|
A general \(\textrm{RS}(n, k)\) code. |
Linear block code functions¶
Converts the generator matrix \(\mathbf{G}\) of a linear \([n, k]\) code into its parity-check matrix \(\mathbf{H}\). |
|
Converts the parity-check matrix \(\mathbf{H}\) of a linear \([n, k]\) code into its generator matrix \(\mathbf{G}\). |
Cyclic code functions¶
|
Returns a list of \((n, k, t)\) tuples of valid primitive binary BCH codes. |
|
Converts the generator polynomial \(g(x)\) into the generator matrix \(\mathbf{G}\) for an \([n, k]\) cyclic code. |
|
Converts the generator polynomial roots into the parity-check matrix \(\mathbf{H}\) for an \([n, k]\) cyclic code. |