Debian Codegraph @

examples/3gp-a-Rel-i

raw
1 #Example: "3gp-a-Rel-i" . . . based on: examples/3gpA
2 #(exponent 9 group with 2 generators of order 3)
3 #vars: F, rels, procId;
4 #options: OutputLevel, ClassBound, OutputFile
5 F := FreeGroup("a", "b");
6 rels := ["a^3", "b^3"];
7 procId := PqStart(F : Prime := 3, Exponent := 9, 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 <12> if set and ok
11 PqPcPresentation(procId : ClassBound := 12,
12 #sub <OutputLevel> for <1> if set and ok
13 OutputLevel := 1);;
14 #comment: save the presentation to a different file by supplying <OutputFile>
15 #sub <OutputFile> for <ANUPQData.outfile> if set and ok
16 PqSavePcPresentation(procId, ANUPQData.outfile);;