Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit cb710e1

Browse files
committed
fix docstring whitespaces
1 parent 466961f commit cb710e1

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/sage/coding/kasami_codes.pyx

+7-6
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,24 @@ The extended Kasami code with parameters `(s,t)` is defined as
99
1010
.. MATH::
1111
12-
\{ v \in GF(2)^s \mid
13-
\sum_{a \in GF(s)} v_a =
14-
\sum_{a \in GF(s)} a v_a =
15-
\sum_{a \in GF(s)} a^{t+1} v_a = 0 \}
12+
\{ v \in GF(2)^s \mid
13+
\sum_{a \in GF(s)} v_a =
14+
\sum_{a \in GF(s)} a v_a =
15+
\sum_{a \in GF(s)} a^{t+1} v_a = 0 \}
16+
1617
1718
It follows that these are subfield subcodes of
1819
the code having those three equations as parity checks.
1920
2021
The only valid parameters `s,t` are given by the below,
21-
where `q` is a power of 2:
22+
where `q` is a power of 2:
2223
* `s = q^{2j+1}`, `t = q^m` with `m \leq j` and `\gcd(m,2j+1) = 1`
2324
* `s = q^2`, `t=q`
2425
2526
The coset graphs of the Kasami codes are distance-regular.
2627
2728
In particular, the extended Kasami codes result in
28-
distance-regular graphs with intersection arrays:
29+
distance-regular graphs with intersection arrays:
2930
* `[q^{2j+1}, q^{2j+1} - 1, q^{2j+1} - q, q^{2j+1} - q^{2j} + 1;`
3031
`1, q, q^{2j} -1, q^{2j+1}]`
3132
* `[q^2, q^2 - 1, q^2 - q, 1; 1, q, q^2 - 1, q^2]`

0 commit comments

Comments
 (0)