Debian Codegraph @

examples/2gp-Rel-i

raw
1 #Example: "2gp-Rel-i" . . . based on: examples/2gp
2 #vars: F, rels, procId;
3 #options: OutputLevel, ClassBound, OutputFile
4 F := FreeGroup("a", "b");
5 rels := ["[b, a, a]", "(a * b * a)^4"];
6 procId := PqStart(F : Prime := 2, Relators := rels);;
7 #comment: set a different `ClassBound' by supplying <ClassBound>
8 #comment: also set a different print level by supplying <OutputLevel>
9 #sub <ClassBound> for <6> if set and ok
10 PqPcPresentation(procId : ClassBound := 6,
11 #sub <OutputLevel> for <1> if set and ok
12 OutputLevel := 1);;
13 #comment: save the presentation to a different file by supplying <OutputFile>
14 #sub <OutputFile> for <ANUPQData.outfile> if set and ok
15 PqSavePcPresentation(procId, ANUPQData.outfile);;