-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gbch, srivastava, generalized_srivastava
- Loading branch information
Showing
6 changed files
with
123 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
####################################################### | ||
## This is a code entry in the error correction zoo. ## | ||
## https://github.com/errorcorrectionzoo ## | ||
####################################################### | ||
|
||
code_id: gbch | ||
physical: q-ary_digits | ||
logical: q-ary_digits | ||
|
||
name: 'Chien-Choy generalized BCH (GBCH) code' | ||
short_name: 'GBCH' | ||
introduced: '\cite{doi:10.1109/TIT.1975.1055336}' | ||
|
||
description: | | ||
An \([n,k\geq n-rm, d\geq r+1]_q\) alternant code defined using two polynomials \(P(x),G(x)\) that are relatively prime to \(x^n-1\), with \(\deg P \leq n-1\) and \(r = \deg G \leq n-1\). | ||
See \cite[Ch. 12]{preset:MacSlo} for the parity-check matrix. | ||
relations: | ||
parents: | ||
- code_id: alternant | ||
detail: 'GBCH codes are a special case of alternant codes \cite[Ch. 12]{preset:MacSlo}.' | ||
|
||
|
||
# Begin Entry Meta Information | ||
_meta: | ||
# Change log - most recent first | ||
changelog: | ||
- user_id: VictorVAlbert | ||
date: '2024-08-18' |
37 changes: 37 additions & 0 deletions
37
codes/classical/q-ary_digits/alternant/generalized_srivastava.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
####################################################### | ||
## This is a code entry in the error correction zoo. ## | ||
## https://github.com/errorcorrectionzoo ## | ||
####################################################### | ||
|
||
code_id: generalized_srivastava | ||
physical: q-ary_digits | ||
logical: q-ary_digits | ||
|
||
name: 'Generalized Srivastava code' | ||
introduced: '\cite{doi:10.1109/TIT.1972.1054760}' | ||
|
||
description: | | ||
An \([n,k \geq n-mst,d \geq st+1 ]_q) alternant code defined for \(n+s\) distinct elements \(\alpha_1,\alpha_2,\cdots,\alpha_n,w_1,w_2,\cdots,w_s\) and \(n\) nonzero elements \(z_1,z_2,\cdots,z_n\) of \(GF(q^m)\). | ||
The code's parity-check matrix is \cite[Ch. 12]{preset:MacSlo} | ||
\begin{align} | ||
H=\begin{pmatrix}\frac{z_{1}}{\alpha_{1}-w_{1}} & \frac{z_{2}}{\alpha_{2}-w_{1}} & \cdots & \frac{z_{n}}{\alpha_{n}-w_{1}}\\ | ||
\frac{z_{1}}{\left(\alpha_{1}-w_{2}\right)^{2}} & \frac{z_{2}}{\left(\alpha_{1}-w_{2}\right)^{2}} & \cdots & \frac{z_{n}}{\left(\alpha_{n}-w_{2}\right)^{2}}\\ | ||
\vdots & \vdots & \ddots & \vdots\\ | ||
\frac{z_{1}}{\left(\alpha_{1}-w_{s}\right)^{t}} & \frac{z_{2}}{\left(\alpha_{2}-w_{s}\right)^{t}} & \cdots & \frac{z_{n}}{\left(\alpha_{n}-w_{s}\right)^{t}} | ||
\end{pmatrix}~. | ||
\end{align} | ||
relations: | ||
parents: | ||
- code_id: alternant | ||
detail: 'Generalized Srivastava codes are a special case of alternant codes \cite[Ch. 12]{preset:MacSlo}.' | ||
|
||
|
||
# Begin Entry Meta Information | ||
_meta: | ||
# Change log - most recent first | ||
changelog: | ||
- user_id: VictorVAlbert | ||
date: '2024-08-18' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
####################################################### | ||
## This is a code entry in the error correction zoo. ## | ||
## https://github.com/errorcorrectionzoo ## | ||
####################################################### | ||
|
||
code_id: srivastava | ||
physical: q-ary_digits | ||
logical: q-ary_digits | ||
|
||
name: 'Srivastava code' | ||
introduced: '\cite{doi:10.1142/9407,doi:10.1109/TIT.1972.1054760}' | ||
|
||
description: | | ||
A special case of a generalized Srivastava code for \(z_j = \alpha_j^{\mu}\) for some \(\mu\) and \(t=1\). | ||
The code's parity-check matrix is | ||
\begin{align} | ||
H=\begin{pmatrix}\frac{\alpha_{1}^{\mu}}{\alpha_{1}-w_{1}} & \frac{\alpha_{2}^{\mu}}{\alpha_{2}-w_{1}} & \cdots & \frac{\alpha_{n}^{\mu}}{\alpha_{n}-w_{1}}\\ | ||
\frac{\alpha_{1}^{\mu}}{\alpha_{1}-w_{2}} & \frac{\alpha_{2}^{\mu}}{\alpha_{1}-w_{2}} & \cdots & \frac{\alpha_{n}^{\mu}}{\alpha_{n}-w_{2}}\\ | ||
\vdots & \vdots & \ddots & \vdots\\ | ||
\frac{\alpha_{1}^{\mu}}{\alpha_{1}-w_{s}} & \frac{\alpha_{2}^{\mu}}{\alpha_{2}-w_{s}} & \cdots & \frac{\alpha_{n}^{\mu}}{\alpha_{n}-w_{s}} | ||
\end{pmatrix}~. | ||
\end{align} | ||
protection: | | ||
Dimension and minimum distance are found in Refs. \cite{doi:10.1109/TIT.1972.1054760,doi:10.1016/S0019-9958(72)80007-X}. | ||
relations: | ||
parents: | ||
- code_id: generalized_srivastava | ||
detail: 'A Srivastava code is a special case of a generalized Srivastava code for \(z_j = \alpha_j^{\mu}\) for some \(\mu\) and \(t=1\).' | ||
- code_id: goppa | ||
detail: 'Generalized Srivastava codes are a special case of Goppa codes \cite[Ch. 12]{preset:MacSlo}.' | ||
- code_id: gbch | ||
detail: 'Generalized Srivastava codes are a special case of GBCH codes \cite[Ch. 12]{preset:MacSlo}.' | ||
|
||
|
||
|
||
# Begin Entry Meta Information | ||
_meta: | ||
# Change log - most recent first | ||
changelog: | ||
- user_id: VictorVAlbert | ||
date: '2024-08-18' |