We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 341e351 commit db5ae7dCopy full SHA for db5ae7d
1 file changed
doc/source/_gr.rst
@@ -19,12 +19,16 @@ variables over the Gaussian integers :math:`\mathbb{Z}[i][x,y]` we would do::
19
>>> ctx = gr_gr_mpoly_ctx.new(gr_fmpzi_ctx, ["x", "y"])
20
>>> ctx.gens()
21
[x, y]
22
- >>> ctx.gens_recursive()
23
- [I, x, y]
24
- >>> I, x, y = ctx.gens_recursive()
25
- >>> p = (x + y + I)**2
+
+ # XXX: gens_recursive not available in FLINT < 3.1
+ # >>> ctx.gens_recursive()
+ # [I, x, y]
26
+ # >>> I, x, y = ctx.gens_recursive()
27
28
+ >>> x, y = ctx.gens()
29
+ >>> p = (x + y)**2
30
>>> p
- x^2 + 2*x*y + (2*I)*x + y^2 + (2*I)*y - 1
31
+ x^2 + 2*x*y + y^2
32
33
Some domains such as ``gr_fmpzi_ctx`` are global and do not need to be created.
34
Others such as ``gr_gr_mpoly_ctx`` are created using :meth:`gr_ctx.new`.
0 commit comments