Skip to content

Commit 1f7f447

Browse files
committed
Fix docstrings
1 parent 09630de commit 1f7f447

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/sage/combinat/designs/difference_family.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,7 @@ def get_fixed_relative_difference_set(rel_diff_set, as_elements=False):
18921892

18931893
def is_fixed_relative_difference_set(R, q):
18941894
r"""Check if the relative difference set `R` is fixed by `q`.
1895-
1895+
18961896
A relative difference set `R` is fixed by `q` if `\{qd | d \in R\}= R` (see Section 3 of [Spe1975]_).
18971897
18981898
INPUT:

src/sage/combinat/matrices/hadamard_matrix.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@ def skew_hadamard_matrix_spence_construction(n, check=True):
19951995
r"""
19961996
Construct skew Hadamard matrix of order `n` using Spence constrution.
19971997
1998-
This function will construct skew Hadamrd matrix of order `n=2(q+1)` where `q` is
1998+
This function will construct skew Hadamard matrix of order `n=2(q+1)` where `q` is
19991999
a prime power with `q = 5` (mod 8). The construction is taken from [Spe1977]_, and the
20002000
relative difference sets are constructed using :func:`sage.combinat.designs.difference_family.relative_difference_set_from_homomorphism`.
20012001
@@ -2085,6 +2085,7 @@ def GS_skew_hadamard_smallcases(n, existence=False, check=True):
20852085
Namely, it needs 4 circulant matrices with extra properties, as described in
20862086
:func:`sage.combinat.matrices.hadamard_matrix.williamson_goethals_seidel_skew_hadamard_matrix`
20872087
Matrices are taken from:
2088+
20882089
* `n=36, 52`: [GS70s]_
20892090
* `n=92`: [Wall71]_
20902091
* `n=188`: [Djo2008a]_
@@ -2328,7 +2329,7 @@ def skew_hadamard_matrix_from_good_matrices(a, b, c, d, check=True):
23282329
23292330
- ``c`` -- (1,-1) list specifying the 1st row of `D`.
23302331
2331-
- ``check`` -- boolean: if True (default), check the the matrix is an Hadamard matrix before returning it.
2332+
- ``check`` -- boolean: if True (default), check that the matrix is a skew Hadamard matrix before returning it.
23322333
23332334
EXAMPLES::
23342335

0 commit comments

Comments
 (0)