Debian Codegraph @

examples/5gp-Rel-i

raw
1 #Example: "5gp-Rel-i" . . . based on: examples/5gp
2 #vars: F, rels, procId;
3 #options: OutputLevel, ClassBound, OutputFile
4 F := FreeGroup("a", "b", "c");
5 rels := ["a^25 * c", "[a, b] * c^-4", "[a, c]^25"];
6 procId := PqStart(F : Prime := 5, 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 <27> if set and ok
10 PqPcPresentation(procId : ClassBound := 27,
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);;