File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,16 @@ variables over the Gaussian integers :math:`\mathbb{Z}[i][x,y]` we would do::
19
19
>>> ctx = gr_gr_mpoly_ctx.new(gr_fmpzi_ctx, ["x", "y"])
20
20
>>> ctx.gens()
21
21
[x, y]
22
- >>> ctx.gens_recursive()
23
- [I, x, y]
24
- >>> I, x, y = ctx.gens_recursive()
25
- >>> p = (x + y + I)**2
22
+
23
+ # XXX: gens_recursive not available in FLINT < 3.1
24
+ # >>> ctx.gens_recursive()
25
+ # [I, x, y]
26
+ # >>> I, x, y = ctx.gens_recursive()
27
+
28
+ >>> x, y = ctx.gens()
29
+ >>> p = (x + y)**2
26
30
>>> p
27
- x^2 + 2*x*y + (2*I)*x + y^2 + (2*I)*y - 1
31
+ x^2 + 2*x*y + y^2
28
32
29
33
Some domains such as ``gr_fmpzi_ctx `` are global and do not need to be created.
30
34
Others such as ``gr_gr_mpoly_ctx `` are created using :meth: `gr_ctx.new `.
You can’t perform that action at this time.
0 commit comments