Skip to content

Commit 6c34279

Browse files
committed
Uniformize headlines
1 parent 84f02af commit 6c34279

File tree

10 files changed

+30
-39
lines changed

10 files changed

+30
-39
lines changed

src/doc/en/reference/noncommutative_polynomial_rings/index.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Noncommutative Polynomials
22
==========================
33

4-
Univariate Ore polynomial rings
5-
-------------------------------
4+
Univariate Ore Polynomials
5+
--------------------------
66

77
.. toctree::
88
:maxdepth: 1
@@ -13,13 +13,6 @@ Univariate Ore polynomial rings
1313
sage/rings/polynomial/skew_polynomial_element
1414
sage/rings/polynomial/skew_polynomial_finite_order
1515
sage/rings/polynomial/skew_polynomial_finite_field
16-
17-
Fraction field of Ore polynomial rings
18-
--------------------------------------
19-
20-
.. toctree::
21-
:maxdepth: 1
22-
2316
sage/rings/polynomial/ore_function_field
2417
sage/rings/polynomial/ore_function_element
2518

src/sage/rings/polynomial/ore_function_element.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
r"""
2-
An element in the fraction field of a Ore polynomial ring.
2+
Fraction field elements of Ore polynomial rings
33
44
AUTHOR:
55
66
- Xavier Caruso (2020-05)
77
"""
88

9-
109
# ***************************************************************************
1110
# Copyright (C) 2020 Xavier Caruso <[email protected]>
1211
#
@@ -17,7 +16,6 @@
1716
# https://www.gnu.org/licenses/
1817
# ***************************************************************************
1918

20-
2119
from sage.structure.richcmp import richcmp, op_EQ, op_NE
2220
from sage.misc.cachefunc import cached_method
2321
from sage.misc.latex import latex

src/sage/rings/polynomial/ore_function_field.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r"""
2-
Fraction fields of Ore polynomial rings.
2+
Fraction fields of Ore polynomial rings
33
44
Sage provides support for building the fraction field of any Ore
55
polynomial ring and performing basic operations in it.

src/sage/rings/polynomial/ore_polynomial_element.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r"""
2-
Univariate Ore Polynomials
2+
Univariate Ore polynomials
33
44
This module provides the
55
:class:`~sage.rings.polynomial.skew_polynomial_element.OrePolynomial`,

src/sage/rings/polynomial/ore_polynomial_ring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r"""
2-
Univariate Ore Polynomial Rings
2+
Univariate Ore polynomial rings
33
44
This module provides the
55
:class:`~sage.rings.polynomial.ore_polynomial_ring.OrePolynomialRing`,

src/sage/rings/polynomial/plural.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r"""
2-
Noncommutative Polynomials via libSINGULAR/Plural
2+
Noncommutative polynomials via libSINGULAR/Plural
33
44
This module provides specialized and optimized implementations for
55
noncommutative multivariate polynomials over many coefficient rings, via the

src/sage/rings/polynomial/skew_polynomial_element.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r"""
2-
Univariate Skew Polynomials
2+
Univariate skew polynomials
33
44
This module provides the
55
:class:`~sage.rings.polynomial.skew_polynomial_element.SkewPolynomial`.

src/sage/rings/polynomial/skew_polynomial_finite_field.pyx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
r"""
2-
Univariate Dense Skew Polynomials over Finite Fields
2+
Univariate dense skew polynomials over finite fields
33
4-
This module provides the
4+
This module provides the
55
class:`~sage.rings.polynomial.skew_polynomial_finite_field.SkewPolynomial_finite_field_dense`,
66
which constructs a single univariate skew polynomial over a finite field
77
equipped with the Frobenius endomorphism. Among other things, it implements
@@ -336,7 +336,7 @@ cdef class SkewPolynomial_finite_field_dense(SkewPolynomial_finite_order_dense):
336336
....: N = R._reduced_norm_factor_uniform()
337337
....: counts[N] += 1
338338
sage: counts # random
339-
{z + 1: 969, z + 2: 31}
339+
{z + 1: 969, z + 2: 31}
340340
"""
341341
skew_ring = self._parent
342342
F = self._reduced_norm_factored()
@@ -390,7 +390,7 @@ cdef class SkewPolynomial_finite_field_dense(SkewPolynomial_finite_order_dense):
390390
sage: for D in rightdiv:
391391
....: assert P.is_right_divisible_by(D), "not right divisible"
392392
....: assert D.is_irreducible(), "not irreducible"
393-
393+
394394
sage: P = S.random_element(degree=10)
395395
sage: leftdiv = [ f for f in P.left_irreducible_divisors() ] # indirect doctest
396396
sage: len(leftdiv) == P.count_irreducible_divisors()
@@ -401,7 +401,7 @@ cdef class SkewPolynomial_finite_field_dense(SkewPolynomial_finite_order_dense):
401401
....: assert P.is_left_divisible_by(D), "not left divisible"
402402
....: assert D.is_irreducible(), "not irreducible"
403403
"""
404-
cdef SkewPolynomial_finite_field_dense NS, P, Q, R, P1, Q1, L, V, g, d
404+
cdef SkewPolynomial_finite_field_dense NS, P, Q, R, P1, Q1, L, V, g, d
405405
cdef Py_ssize_t i, m, degrandom
406406
if not self:
407407
return
@@ -697,8 +697,8 @@ cdef class SkewPolynomial_finite_field_dense(SkewPolynomial_finite_order_dense):
697697
698698
.. NOTE::
699699
700-
One can prove that there are always as many left
701-
irreducible monic divisors as right irreducible
700+
One can prove that there are always as many left
701+
irreducible monic divisors as right irreducible
702702
monic divisors.
703703
704704
EXAMPLES::
@@ -936,7 +936,7 @@ cdef class SkewPolynomial_finite_field_dense(SkewPolynomial_finite_order_dense):
936936
937937
INPUT:
938938
939-
- ``uniform`` -- a boolean (default: ``False``); whether the
939+
- ``uniform`` -- a boolean (default: ``False``); whether the
940940
output irreducible divisor should be uniformly distributed
941941
among all possibilities
942942
@@ -966,7 +966,7 @@ cdef class SkewPolynomial_finite_field_dense(SkewPolynomial_finite_order_dense):
966966
sage: F.value() == a
967967
True
968968
969-
There is a priori no guarantee on the distribution of the
969+
There is a priori no guarantee on the distribution of the
970970
factorizations we get. Passing in the keyword ``uniform=True``
971971
ensures the output is uniformly distributed among all
972972
factorizations::
@@ -1077,9 +1077,9 @@ cdef class SkewPolynomial_finite_field_dense(SkewPolynomial_finite_order_dense):
10771077
....: assert F.value() == a, "factorization has a different value"
10781078
....: for d,_ in F:
10791079
....: assert d.is_irreducible(), "a factor is not irreducible"
1080-
1081-
Note that the algorithm used in this method is probabilistic.
1082-
As a consequence, if we call it two times with the same input,
1080+
1081+
Note that the algorithm used in this method is probabilistic.
1082+
As a consequence, if we call it two times with the same input,
10831083
we can get different orderings::
10841084
10851085
sage: factorizations2 = [ F for F in a.factorizations() ]

src/sage/rings/polynomial/skew_polynomial_finite_order.pyx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r"""
2-
Univariate Dense Skew Polynomials over a field equipped with a finite order automorphism
2+
Univariate dense skew polynomials over a field with a finite order automorphism
33
44
AUTHOR::
55
@@ -190,13 +190,13 @@ cdef class SkewPolynomial_finite_order_dense(SkewPolynomial_generic_dense):
190190
191191
By default, the name of the central variable is usually ``z`` (see
192192
:meth:`~sage.rings.polynomial.skew_polynomial_ring.SkewPolynomialRing_finite_order.center`
193-
for more details about this).
194-
However, the user can specify a different variable name if desired::
193+
for more details about this).
194+
However, the user can specify a different variable name if desired::
195195
196196
sage: a.reduced_trace(var='u')
197197
3*u + 4
198198
199-
When passing in ``var=False``, a tuple of coefficients (instead of
199+
When passing in ``var=False``, a tuple of coefficients (instead of
200200
an actual polynomial) is returned::
201201
202202
sage: a.reduced_trace(var=False)
@@ -265,20 +265,20 @@ cdef class SkewPolynomial_finite_order_dense(SkewPolynomial_generic_dense):
265265
266266
By default, the name of the central variable is usually ``z`` (see
267267
:meth:`~sage.rings.polynomial.skew_polynomial_ring.SkewPolynomialRing_finite_order.center`
268-
for more details about this).
268+
for more details about this).
269269
However, the user can specify a different variable name if desired::
270270
271271
sage: a.reduced_norm(var='u')
272272
u^3 + 4*u^2 + 4
273273
274-
When passing in ``var=False``, a tuple of coefficients (instead of
274+
When passing in ``var=False``, a tuple of coefficients (instead of
275275
an actual polynomial) is returned::
276276
277277
sage: a.reduced_norm(var=False)
278278
(4, 0, 4, 1)
279279
280280
TESTS:
281-
281+
282282
We check that `N` is a multiple of `a`::
283283
284284
sage: S(N).is_right_divisible_by(a)
@@ -320,7 +320,7 @@ cdef class SkewPolynomial_finite_order_dense(SkewPolynomial_generic_dense):
320320
"""
321321
if self._norm is None:
322322
if self.is_zero():
323-
self._norm = 0
323+
self._norm = 0
324324
else:
325325
parent = self._parent
326326
section = parent._embed_constants.section()
@@ -387,7 +387,7 @@ cdef class SkewPolynomial_finite_order_dense(SkewPolynomial_generic_dense):
387387
By default, the name of the variable of the reduced characteristic
388388
polynomial is ``x`` and the name of central variable is usually ``z``
389389
(see :meth:`~sage.rings.polynomial.skew_polynomial_ring.SkewPolynomialRing_finite_order.center`
390-
for more details about this).
390+
for more details about this).
391391
The user can speciify different names if desired::
392392
393393
sage: a.reduced_charpoly(var='T') # variable name for the caracteristic polynomial

src/sage/rings/polynomial/skew_polynomial_ring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
r"""
2-
Skew Univariate Polynomial Rings
2+
Univariate skew polynomial rings
33
44
This module provides the
55
:class:`~sage.rings.polynomial.skew_polynomial_ring.SkewPolynomialRing`.

0 commit comments

Comments
 (0)