Skip to content

Commit 9421432

Browse files
committed
Correct doc strings
1 parent 6cdc1bc commit 9421432

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

src/flint/types/fmpq_mpoly.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,8 +1088,8 @@ cdef class fmpq_mpoly(flint_mpoly):
10881088
def deflation_monom(self) -> tuple[fmpq_mpoly, list[int], fmpq_mpoly]:
10891089
"""
10901090
Compute the exponent vector ``N`` and monomial ``m`` such that ``p(X^(1/N))
1091-
= m * q(X^N)`` for maximal N. Importantly the deflation itself is not computed
1092-
here. The returned monomial allows the undo-ing of the deflation.
1091+
= m * q(X^N)`` for maximal N. The returned monomial allows the undo-ing of the
1092+
deflation.
10931093

10941094
>>> from flint import Ordering
10951095
>>> ctx = fmpq_mpoly_ctx.get_context(2, Ordering.lex, nametup=('x', 'y'))

src/flint/types/fmpz_mod_mpoly.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,8 +1163,8 @@ cdef class fmpz_mod_mpoly(flint_mpoly):
11631163
def deflation_monom(self) -> tuple[fmpz_mod_mpoly, list[int], fmpz_mod_mpoly]:
11641164
"""
11651165
Compute the exponent vector ``N`` and monomial ``m`` such that ``p(X^(1/N))
1166-
= m * q(X^N)`` for maximal N. Importantly the deflation itself is not computed
1167-
here. The returned monomial allows the undo-ing of the deflation.
1166+
= m * q(X^N)`` for maximal N. The returned monomial allows the undo-ing of the
1167+
deflation.
11681168

11691169
>>> from flint import Ordering
11701170
>>> ctx = fmpz_mod_mpoly_ctx.get_context(2, Ordering.lex, 11, nametup=('x', 'y'))

src/flint/types/fmpz_mpoly.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,8 +1185,8 @@ cdef class fmpz_mpoly(flint_mpoly):
11851185
def deflation_monom(self) -> tuple[fmpz_mpoly, list[int], fmpz_mpoly]:
11861186
"""
11871187
Compute the exponent vector ``N`` and monomial ``m`` such that ``p(X^(1/N))
1188-
= m * q(X^N)`` for maximal N. Importantly the deflation itself is not computed
1189-
here. The returned monomial allows the undo-ing of the deflation.
1188+
= m * q(X^N)`` for maximal N. The returned monomial allows the undo-ing of the
1189+
deflation.
11901190

11911191
>>> from flint import Ordering
11921192
>>> ctx = fmpz_mpoly_ctx.get_context(2, Ordering.lex, nametup=('x', 'y'))

src/flint/types/fmpz_poly.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -644,9 +644,9 @@ cdef class fmpz_poly(flint_poly):
644644

645645
def deflation_monom(self) -> tuple[fmpz_poly, int, fmpz_poly]:
646646
"""
647-
Compute the exponent ``n`` and monomial ``m`` such that ``p(x^(1/n))
648-
= m * q(x^n)`` for maximal n. Importantly the deflation itself is not computed
649-
here. The returned monomial allows the undo-ing of the deflation.
647+
Compute the exponent ``n`` and monomial ``m`` such that ``p(x^(1/n)) = m *
648+
q(x^n)`` for maximal n. The returned monomial allows the undo-ing of the
649+
deflation.
650650

651651
>>> f = fmpz_poly([1, 0, 1])
652652
>>> f.deflation_monom()

src/flint/types/nmod_mpoly.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,8 +1135,8 @@ cdef class nmod_mpoly(flint_mpoly):
11351135
def deflation_monom(self) -> tuple[nmod_mpoly, list[int], nmod_mpoly]:
11361136
"""
11371137
Compute the exponent vector ``N`` and monomial ``m`` such that ``p(X^(1/N))
1138-
= m * q(X^N)`` for maximal N. Importantly the deflation itself is not computed
1139-
here. The returned monomial allows the undo-ing of the deflation.
1138+
= m * q(X^N)`` for maximal N. The returned monomial allows the undo-ing of the
1139+
deflation.
11401140

11411141
>>> from flint import Ordering
11421142
>>> ctx = nmod_mpoly_ctx.get_context(2, Ordering.lex, 11, nametup=('x', 'y'))

0 commit comments

Comments
 (0)