Skip to content

Commit c740fec

Browse files
author
Jake Moss
committed
Doc changes
1 parent 0cf8237 commit c740fec

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/flint/types/fmpq_mpoly.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ cdef class fmpq_mpoly(flint_mpoly):
925925
>>> Zm = fmpq_mpoly
926926
>>> ctx = fmpq_mpoly_ctx.get_context(3, Ordering.lex, 'x,y,z')
927927
>>> p1 = Zm("2*x + 4", ctx)
928-
>>> p2 = Zm("3*x*z + + 3*x + 3*z + 3", ctx)
928+
>>> p2 = Zm("3*x*z + 3*x + 3*z + 3", ctx)
929929
>>> (p1 * p2).factor()
930930
(6, [(z + 1, 1), (x + 2, 1), (x + 1, 1)])
931931
>>> (p2 * p1 * p2).factor()

src/flint/types/fmpz_mod_mpoly.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ cdef class fmpz_mod_mpoly_ctx(flint_mpoly_context):
246246
cdef class fmpz_mod_mpoly(flint_mpoly):
247247
"""
248248
The *fmpz_mod_mpoly* type represents sparse multivariate polynomials over
249-
the integers.
249+
the integers modulo `n`, for large `n`.
250250
"""
251251

252252
def __cinit__(self):
@@ -989,7 +989,7 @@ cdef class fmpz_mod_mpoly(flint_mpoly):
989989
>>> Zm = fmpz_mod_mpoly
990990
>>> ctx = fmpz_mod_mpoly_ctx.get_context(3, Ordering.lex, 11, 'x,y,z')
991991
>>> p1 = Zm("2*x + 4", ctx)
992-
>>> p2 = Zm("3*x*z + + 3*x + 3*z + 3", ctx)
992+
>>> p2 = Zm("3*x*z + 3*x + 3*z + 3", ctx)
993993
>>> (p1 * p2).factor()
994994
(6, [(z + 1, 1), (x + 2, 1), (x + 1, 1)])
995995
>>> (p2 * p1 * p2).factor()

src/flint/types/fmpz_mpoly.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ cdef class fmpz_mpoly(flint_mpoly):
903903
>>> Zm = fmpz_mpoly
904904
>>> ctx = fmpz_mpoly_ctx.get_context(3, Ordering.lex, 'x,y,z')
905905
>>> p1 = Zm("2*x + 4", ctx)
906-
>>> p2 = Zm("3*x*z + + 3*x + 3*z + 3", ctx)
906+
>>> p2 = Zm("3*x*z + 3*x + 3*z + 3", ctx)
907907
>>> (p1 * p2).factor()
908908
(6, [(z + 1, 1), (x + 2, 1), (x + 1, 1)])
909909
>>> (p2 * p1 * p2).factor()

src/flint/types/nmod_mpoly.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ cdef class nmod_mpoly(flint_mpoly):
10691069
>>> Zm = nmod_mpoly
10701070
>>> ctx = nmod_mpoly_ctx.get_context(3, Ordering.lex, 11, 'x,y,z')
10711071
>>> p1 = Zm("2*x + 4", ctx)
1072-
>>> p2 = Zm("3*x*z + + 3*x + 3*z + 3", ctx)
1072+
>>> p2 = Zm("3*x*z + 3*x + 3*z + 3", ctx)
10731073
>>> (p1 * p2).factor()
10741074
(6, [(z + 1, 1), (x + 2, 1), (x + 1, 1)])
10751075
>>> (p2 * p1 * p2).factor()

0 commit comments

Comments
 (0)