diff --git a/src/flint/types/fmpq_mpoly.pyx b/src/flint/types/fmpq_mpoly.pyx index 6e585a51..fa4ae5e0 100644 --- a/src/flint/types/fmpq_mpoly.pyx +++ b/src/flint/types/fmpq_mpoly.pyx @@ -1088,8 +1088,8 @@ cdef class fmpq_mpoly(flint_mpoly): def deflation_monom(self) -> tuple[fmpq_mpoly, list[int], fmpq_mpoly]: """ Compute the exponent vector ``N`` and monomial ``m`` such that ``p(X^(1/N)) - = m * q(X^N)`` for maximal N. Importantly the deflation itself is not computed - here. The returned monomial allows the undo-ing of the deflation. + = m * q(X^N)`` for maximal N. The returned monomial allows the undo-ing of the + deflation. >>> from flint import Ordering >>> ctx = fmpq_mpoly_ctx.get_context(2, Ordering.lex, nametup=('x', 'y')) diff --git a/src/flint/types/fmpz_mod_mpoly.pyx b/src/flint/types/fmpz_mod_mpoly.pyx index 576477b5..0e091244 100644 --- a/src/flint/types/fmpz_mod_mpoly.pyx +++ b/src/flint/types/fmpz_mod_mpoly.pyx @@ -1163,8 +1163,8 @@ cdef class fmpz_mod_mpoly(flint_mpoly): def deflation_monom(self) -> tuple[fmpz_mod_mpoly, list[int], fmpz_mod_mpoly]: """ Compute the exponent vector ``N`` and monomial ``m`` such that ``p(X^(1/N)) - = m * q(X^N)`` for maximal N. Importantly the deflation itself is not computed - here. The returned monomial allows the undo-ing of the deflation. + = m * q(X^N)`` for maximal N. The returned monomial allows the undo-ing of the + deflation. >>> from flint import Ordering >>> ctx = fmpz_mod_mpoly_ctx.get_context(2, Ordering.lex, 11, nametup=('x', 'y')) diff --git a/src/flint/types/fmpz_mpoly.pyx b/src/flint/types/fmpz_mpoly.pyx index 719dff41..b351127f 100644 --- a/src/flint/types/fmpz_mpoly.pyx +++ b/src/flint/types/fmpz_mpoly.pyx @@ -1185,8 +1185,8 @@ cdef class fmpz_mpoly(flint_mpoly): def deflation_monom(self) -> tuple[fmpz_mpoly, list[int], fmpz_mpoly]: """ Compute the exponent vector ``N`` and monomial ``m`` such that ``p(X^(1/N)) - = m * q(X^N)`` for maximal N. Importantly the deflation itself is not computed - here. The returned monomial allows the undo-ing of the deflation. + = m * q(X^N)`` for maximal N. The returned monomial allows the undo-ing of the + deflation. >>> from flint import Ordering >>> ctx = fmpz_mpoly_ctx.get_context(2, Ordering.lex, nametup=('x', 'y')) diff --git a/src/flint/types/fmpz_poly.pyx b/src/flint/types/fmpz_poly.pyx index 6b080333..7b4618c3 100644 --- a/src/flint/types/fmpz_poly.pyx +++ b/src/flint/types/fmpz_poly.pyx @@ -644,9 +644,9 @@ cdef class fmpz_poly(flint_poly): def deflation_monom(self) -> tuple[fmpz_poly, int, fmpz_poly]: """ - Compute the exponent ``n`` and monomial ``m`` such that ``p(x^(1/n)) - = m * q(x^n)`` for maximal n. Importantly the deflation itself is not computed - here. The returned monomial allows the undo-ing of the deflation. + Compute the exponent ``n`` and monomial ``m`` such that ``p(x^(1/n)) = m * + q(x^n)`` for maximal n. The returned monomial allows the undo-ing of the + deflation. >>> f = fmpz_poly([1, 0, 1]) >>> f.deflation_monom() diff --git a/src/flint/types/nmod_mpoly.pyx b/src/flint/types/nmod_mpoly.pyx index d21b233a..f383deb7 100644 --- a/src/flint/types/nmod_mpoly.pyx +++ b/src/flint/types/nmod_mpoly.pyx @@ -1135,8 +1135,8 @@ cdef class nmod_mpoly(flint_mpoly): def deflation_monom(self) -> tuple[nmod_mpoly, list[int], nmod_mpoly]: """ Compute the exponent vector ``N`` and monomial ``m`` such that ``p(X^(1/N)) - = m * q(X^N)`` for maximal N. Importantly the deflation itself is not computed - here. The returned monomial allows the undo-ing of the deflation. + = m * q(X^N)`` for maximal N. The returned monomial allows the undo-ing of the + deflation. >>> from flint import Ordering >>> ctx = nmod_mpoly_ctx.get_context(2, Ordering.lex, 11, nametup=('x', 'y'))