Skip to content

Commit 9cdc4b0

Browse files
committed
fixing a few typos
1 parent c9dd1e8 commit 9cdc4b0

File tree

21 files changed

+35
-35
lines changed

21 files changed

+35
-35
lines changed

docker/.gitpod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apt update && apt-get install -yq --no-install-recommends sudo gpg curl lsb-
66

77
# Make Docker available, like the default gitpod image does
88
# from https://github.com/gitpod-io/workspace-images/blob/main/chunks/tool-docker/Dockerfile @ 3f0988f2d06768d22d0aa1454ef0e963b0db65f3
9-
# - removed unneccessary "sudo"
9+
# - removed unnecessary "sudo"
1010
# - replaced use of "install-packages" (https://github.com/gitpod-io/workspace-images/blob/main/base/install-packages)
1111
# https://docs.docker.com/engine/install/ubuntu/
1212
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg \

src/sage/algebras/hecke_algebras/cubic_hecke_base_ring.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ def create_specialization(self, im_cubic_equation_roots, im_writhe_parameter=Non
683683

684684
if len(cyclotomic_roots) > 0:
685685
E3 = cyclotomic_roots[0]
686-
verbose('thrird root of unity %s found in %s' % (E3, E3.parent()), level=2)
686+
verbose('third root of unity %s found in %s' % (E3, E3.parent()), level=2)
687687

688688
if E3 is None:
689689
raise RuntimeError('cannot find a ring containing a third root of unity for the this choice of cubic roots!')

src/sage/categories/finite_enumerated_sets.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def _random_element_from_unrank(self):
474474
sage: n in C
475475
True
476476
477-
TODO: implement _test_random which checks uniformness
477+
TODO: implement _test_random which checks uniformity
478478
"""
479479
from sage.misc.prandom import randint
480480
c = self.cardinality()

src/sage/combinat/designs/difference_family.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@ def is_relative_difference_set(R, G, H, params, verbose=False):
15791579
- ``H`` -- list; a submodule of ``G`` of order `n`
15801580
- ``params`` -- tuple in the form `(m, n, k, d)`
15811581
- ``verbose`` -- boolean (default: ``False``); if ``True``, the function
1582-
will be verbose when the sequences do not satisfy the contraints
1582+
will be verbose when the sequences do not satisfy the constraints
15831583
15841584
EXAMPLES::
15851585
@@ -1659,7 +1659,7 @@ def is_supplementary_difference_set(Ks, v=None, lmbda=None, G=None, verbose=Fals
16591659
- ``lmbda`` -- integer; the parameter `\lambda` of the supplementary difference sets
16601660
- ``G`` -- a group of order `v`
16611661
- ``verbose`` -- boolean (default: ``False``); if ``True``, the function will
1662-
be verbose when the sets do not satisfy the contraints
1662+
be verbose when the sets do not satisfy the constraints
16631663
16641664
EXAMPLES::
16651665
@@ -1757,7 +1757,7 @@ def supplementary_difference_set_from_rel_diff_set(q, existence=False, check=Tru
17571757
OUTPUT:
17581758
17591759
If ``existence=False``, the function returns the 4 sets (containing integers),
1760-
or raises an error if ``q`` does not satify the constraints.
1760+
or raises an error if ``q`` does not satisfy the constraints.
17611761
If ``existence=True``, the function returns a boolean representing whether
17621762
supplementary difference sets can be constructed.
17631763
@@ -3084,7 +3084,7 @@ def are_complementary_difference_sets(G, A, B, verbose=False):
30843084
- ``A`` -- set of elements of ``G``
30853085
- ``B`` -- set of elements of ``G``
30863086
- ``verbose`` -- boolean (default: ``False``); if ``True`` the function will
3087-
be verbose when the sets do not satisfy the contraints
3087+
be verbose when the sets do not satisfy the constraints
30883088
30893089
EXAMPLES::
30903090

src/sage/combinat/matrices/hadamard_matrix.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ def hadamard_matrix_spence_construction(n, existence=False, check=True):
15031503
- ``n`` -- integer; the order of the matrix to be constructed
15041504
- ``existence`` -- boolean (default: ``False``); if ``True``, only check if
15051505
the matrix exists
1506-
- ``check`` -- bolean (default: ``True``); if ``True``, check that the matrix
1506+
- ``check`` -- boolean (default: ``True``); if ``True``, check that the matrix
15071507
is a Hadamard matrix before returning
15081508
15091509
OUTPUT:

src/sage/combinat/posets/posets.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -6530,7 +6530,7 @@ def random_maximal_chain(self):
65306530
65316531
EXAMPLES::
65326532
6533-
sage: set_random_seed(0) # results are reproduceable
6533+
sage: set_random_seed(0) # results are reproducible
65346534
sage: P = posets.BooleanLattice(4)
65356535
sage: P.random_maximal_chain()
65366536
[0, 4, 5, 7, 15]
@@ -6565,7 +6565,7 @@ def random_maximal_antichain(self):
65656565
65666566
EXAMPLES::
65676567
6568-
sage: set_random_seed(0) # results are reproduceable
6568+
sage: set_random_seed(0) # results are reproducible
65696569
sage: P = posets.BooleanLattice(4)
65706570
sage: P.random_maximal_antichain()
65716571
[1, 8, 2, 4]
@@ -6597,7 +6597,7 @@ def random_linear_extension(self):
65976597
65986598
EXAMPLES::
65996599
6600-
sage: set_random_seed(0) # results are reproduceable
6600+
sage: set_random_seed(0) # results are reproducible
66016601
sage: P = posets.BooleanLattice(4)
66026602
sage: P.random_linear_extension()
66036603
[0, 4, 1, 2, 3, 8, 10, 5, 12, 9, 13, 11, 6, 14, 7, 15]

src/sage/combinat/regular_sequence.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def __iter__(self):
335335
def is_degenerated(self):
336336
r"""
337337
Return whether this `k`-regular sequence is degenerated,
338-
i.e., whether this `k`-regular sequence does not satisfiy
338+
i.e., whether this `k`-regular sequence does not satisfy
339339
`\mu[0] \mathit{right} = \mathit{right}`.
340340
341341
EXAMPLES::
@@ -368,7 +368,7 @@ def is_degenerated(self):
368368
def _error_if_degenerated_(self):
369369
r"""
370370
Raise an error if this `k`-regular sequence is degenerated,
371-
i.e., if this `k`-regular sequence does not satisfiy
371+
i.e., if this `k`-regular sequence does not satisfy
372372
`\mu[0] \mathit{right} = \mathit{right}`.
373373
374374
TESTS::

src/sage/combinat/specht_module.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ def _repr_(self):
10361036

10371037
class SimpleModule(SymmetricGroupRepresentation, QuotientModuleWithBasis):
10381038
r"""
1039-
The simgle `S_n`-module associated with a partition `\lambda`.
1039+
The simple `S_n`-module associated with a partition `\lambda`.
10401040
10411041
The simple module `D^{\lambda}` is the quotient of the Specht module
10421042
`S^{\lambda}` by its :class:`maximal submodule <MaximalSpechtSubmodule>`

src/sage/combinat/t_sequences.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def is_skew(seq, verbose=False):
8484
- ``seq`` -- the sequence that should be checked
8585
8686
- ``verbose`` -- boolean (default: ``False``); if ``True`` the function
87-
will be verbose when the sequences do not satisfy the contraints
87+
will be verbose when the sequences do not satisfy the constraints
8888
8989
EXAMPLES::
9090
@@ -130,7 +130,7 @@ def is_symmetric(seq, verbose=False) -> bool:
130130
- ``seq`` -- the sequence that should be checked
131131
132132
- ``verbose`` -- boolean (default: ``False``); if ``True`` the function will be
133-
verbose when the sequences do not satisfy the contraints
133+
verbose when the sequences do not satisfy the constraints
134134
135135
EXAMPLES::
136136
@@ -180,7 +180,7 @@ def is_T_sequences_set(sequences, verbose=False):
180180
- ``sequences`` -- list of four sequences
181181
182182
- ``verbose`` -- boolean (default: ``False``); if ``True`` the function will be
183-
verbose when the sequences do not satisfy the contraints
183+
verbose when the sequences do not satisfy the constraints
184184
185185
EXAMPLES::
186186
@@ -643,7 +643,7 @@ def is_base_sequences_tuple(base_sequences, verbose=False):
643643
- ``base_sequences`` -- the list of 4 sequences that should be checked
644644
645645
- ``verbose`` -- boolean (default: ``False``); if ``True`` the function
646-
will be verbose when the sequences do not satisfy the contraints
646+
will be verbose when the sequences do not satisfy the constraints
647647
648648
EXAMPLES::
649649
@@ -656,7 +656,7 @@ def is_base_sequences_tuple(base_sequences, verbose=False):
656656
657657
sage: seqs = [[1, -1], [1, 1], [-1], [2]]
658658
sage: is_base_sequences_tuple(seqs, verbose=True)
659-
Base sequences should only contiain -1, +1, found 2
659+
Base sequences should only contain -1, +1, found 2
660660
False
661661
662662
TESTS:
@@ -694,7 +694,7 @@ def is_base_sequences_tuple(base_sequences, verbose=False):
694694
for el in seq:
695695
if abs(el) != 1:
696696
if verbose:
697-
print(f'Base sequences should only contiain -1, +1, found {el}')
697+
print(f'Base sequences should only contain -1, +1, found {el}')
698698
return False
699699

700700
for j in range(1, n+p):

src/sage/ext_data/valgrind/pyalloc.supp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Read Misc/README.valgrind in the Python sourcs for a thorough explanation
1+
# Read Misc/README.valgrind in the Python sources for a thorough explanation
22
#
33
# In short: We need these unless we compile python without pyalloc,
44
# but that would be prohibitively slow.

src/sage/geometry/polyhedral_complex.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2271,7 +2271,7 @@ def is_simplicial_fan(self):
22712271
Test if this polyhedral complex is a simplicial fan.
22722272
22732273
A polyhedral complex is a **simplicial fan** if all of its (maximal)
2274-
cells are simplical cones, i.e., every cell is a pointed cone (with
2274+
cells are simplicial cones, i.e., every cell is a pointed cone (with
22752275
vertex being the origin) generated by `d` linearly independent rays,
22762276
where `d` is the dimension of the cone.
22772277

src/sage/graphs/generators/smallgraphs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4623,7 +4623,7 @@ def TricornGraph():
46234623
46244624
The Tricorn graph is obtained by splicing a complete graph `K_4` with the
46254625
the triangular circular ladder graph `\overline{C_6}`. (Note that this
4626-
generates a unqiue graph as both of the graphs `K_4` and `\overline{C_6}`
4626+
generates a unique graph as both of the graphs `K_4` and `\overline{C_6}`
46274627
are vertex-transitive). It is a nonsolid brick. This matching covered graph
46284628
is one of the ten extremal cubic bricks. (A matching covered graph `G` is
46294629
*extremal* if `\Phi(G) = dim(\mathcal{Lin}(G))`, where `\Phi(G)` denotes

src/sage/graphs/matching_covered_graph.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2580,7 +2580,7 @@ def remove_loops(self, vertices=None):
25802580
INPUT:
25812581
25822582
- ``vertices`` -- (default: ``None``) iterator container of vertex
2583-
labels correponding to which the looped edges are to be removed. If
2583+
labels corresponding to which the looped edges are to be removed. If
25842584
``vertices`` is ``None``, remove all loops.
25852585
25862586
OUTPUT:
@@ -2750,4 +2750,4 @@ def update_matching(self, matching):
27502750
raise exception
27512751

27522752

2753-
__doc__ = __doc__.replace('{INDEX_OF_METHODS}', gen_thematic_rest_table_index(MatchingCoveredGraph, only_local_functions=False))
2753+
__doc__ = __doc__.replace('{INDEX_OF_METHODS}', gen_thematic_rest_table_index(MatchingCoveredGraph, only_local_functions=False))

src/sage/interfaces/mathics.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@
397397

398398
def _mathics_sympysage_symbol(self):
399399
r"""
400-
Convert a Sympy symbol ``self`` to a correspondig element
400+
Convert a Sympy symbol ``self`` to a corresponding element
401401
in Sage's symbolic ring.
402402
403403
This function replaces ``_sympysage_symbol`` to

src/sage/knots/knotinfo.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
This will install a `Python wrapper <https://github.com/soehms/database_knotinfo#readme>`__
1818
for the original databases in Sage. This wrapper perfoms an automatic progress
1919
of version numbers. For more details and further install instructions please see
20-
the correspondig web-page.
20+
the corresponding web-page.
2121
2222
To perform all the doctests concerning the usage of the database on the installation
2323
add the option ``-c``. In this case (for instance ``sage -f -c database_knotinfo``)
@@ -218,7 +218,7 @@
218218
- Sebastian Oehms August 2020: initial version
219219
- Sebastian Oehms June 2022: add :meth:`conway_polynomial` and :meth:`khovanov_polynomial` (:issue:`33969`)
220220
221-
Thanks to Chuck Livingston and Allison Moore for their support. For further acknowledgments see the correspondig hompages.
221+
Thanks to Chuck Livingston and Allison Moore for their support. For further acknowledgments see the corresponding hompages.
222222
"""
223223

224224

@@ -229,7 +229,7 @@
229229
# it under the terms of the GNU General Public License as published by
230230
# the Free Software Foundation, either version 2 of the License, or
231231
# (at your option) any later version.
232-
# http://www.gnu.org/licenses/
232+
# https://www.gnu.org/licenses/
233233
##############################################################################
234234

235235

src/sage/matrix/matrix2.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14520,7 +14520,7 @@ cdef class Matrix(Matrix1):
1452014520

1452114521
# Continuing the "else" branch of Higham's Step (1), and
1452214522
# onto B&K's Step (3) where we find the largest
14523-
# off-diagonal entry (in magniture) in column "r". Since
14523+
# off-diagonal entry (in magnitude) in column "r". Since
1452414524
# the matrix is Hermitian, we need only look at the
1452514525
# above-diagonal entries to find the off-diagonal of
1452614526
# maximal magnitude.

src/sage/modules/with_basis/cell_module.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def _acted_upon_(self, scalar, self_on_left=False):
348348
sage: 1/2 * elt
349349
W[[1, 2], [3]] + W[[1, 3], [2]]
350350
"""
351-
# Check for elements coercable to the base ring first
351+
# Check for elements coercible to the base ring first
352352
ret = CombinatorialFreeModule.Element._acted_upon_(self, scalar, self_on_left)
353353
if ret is not None:
354354
return ret

src/sage/rings/semirings/tropical_polynomial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class TropicalPolynomial(Polynomial_generic_sparse):
107107
[1, 1]
108108
109109
Even though every tropical polynomials have tropical roots, this does not
110-
neccessarily means it can be factored into its linear factors::
110+
necessarily means it can be factored into its linear factors::
111111
112112
sage: p1.factor()
113113
(0) * (0*x^3 + 4*x + 1)

src/sage/rings/valuation/valuation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def mac_lane_approximants(self, G, assume_squarefree=False, require_final_EF=Tru
395395
396396
- ``require_final_EF`` -- boolean (default: ``True``); whether to
397397
require the returned key polynomials to be in one-to-one
398-
correspondance to the extensions of this valuation to ``L`` and
398+
correspondence to the extensions of this valuation to ``L`` and
399399
require them to have the ramification index and residue degree of the
400400
valuations they correspond to.
401401

src/sage/schemes/elliptic_curves/ell_generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ def lift_x(self, x, all=False, extend=False):
946946
b = (a1*x + a3)
947947
f = ((x + a2) * x + a4) * x + a6
948948

949-
# If possible find the associated y coorindates in L:
949+
# If possible find the associated y coordinates in L:
950950

951951
if K.characteristic() == 2:
952952
R = PolynomialRing(L, 'y')

src/sage/topology/cell_complex.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ def homology(self, dim=None, base_ring=ZZ, subcomplex=None,
544544
[0,0] x [0,1] x [0,1] - [0,1] x [0,0] x [0,1] + [0,1] x [0,1] x [0,0]
545545
- [0,1] x [0,1] x [1,1] + [0,1] x [1,1] x [0,1] - [1,1] x [0,1] x [0,1])]
546546
547-
Similarly for simpicial sets::
547+
Similarly for simplicial sets::
548548
549549
sage: S = simplicial_sets.Sphere(2)
550550
sage: S.homology(generators=True) # needs sage.modules

0 commit comments

Comments
 (0)