Debian Codegraph @

examples/2gp-a-Rel-i

raw
1 #Example: "2gp-a-Rel-i" . . . based on: examples/keyword_2gp
2 #vars: F, rels, procId;
3 #options: OutputLevel, ClassBound
4 F := FreeGroup(3, "x");
5 rels := ["x1^x2 * x3", "[x2, x1, x1]",
6 "[x2 * [x2, x1] * x1^2, x1 * x2 ]"];
7 procId := PqStart(F : Prime := 2, Relators := rels);;
8 #comment: set a different `ClassBound' by supplying <ClassBound>
9 #comment: also set a different print level by supplying <OutputLevel>
10 #sub <ClassBound> for <3> if set and ok
11 PqPcPresentation(procId : ClassBound := 3,
12 #sub <OutputLevel> for <1> if set and ok
13 OutputLevel := 1);;