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::
1919 >>> ctx = gr_gr_mpoly_ctx.new(gr_fmpzi_ctx, ["x", "y"])
2020 >>> ctx.gens()
2121 [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
2630 >>> p
27- x^2 + 2*x*y + (2*I)*x + y^2 + (2*I)*y - 1
31+ x^2 + 2*x*y + y^2
2832
2933Some domains such as ``gr_fmpzi_ctx `` are global and do not need to be created.
3034Others 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