Debian Codegraph @

examples/3gp-a-x-Rel-i

raw
1 #Example: "3gp-a-x-Rel-i" . . . based on: examples/3gpA
2 #(exponent 9 group with 2 generators of order 3, extended)
3 #vars: F, rels, procId;
4 #options: OutputLevel1, OutputLevel2, OutputLevel3, 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 print level by supplying <OutputLevel1>
9 PqPcPresentation(procId : ClassBound := 4,
10 #sub <OutputLevel1> for <1> if set and ok
11 OutputLevel := 1);;
12 #comment: set a different print level by supplying <OutputLevel2>
13 #sub <OutputLevel2> for <2> if set and ok
14 PqDisplayPcPresentation(procId : OutputLevel := 2);;
15 PqNextClass(procId);;
16 #comment: set a different print level by supplying <OutputLevel3>
17 #sub <OutputLevel3> for <1> if set and ok
18 PqSetOutputLevel(procId, 1);;
19 PqSetupTablesForNextClass(procId);;
20 PqTails(procId, 0);;
21 PqDoConsistencyChecks(procId, 0, 0);;
22 PqCollectDefiningRelations(procId);;
23 PqDoExponentChecks(procId);;
24 PqEliminateRedundantGenerators(procId);;
25 #sub <OutputLevel2> for <2> if set and ok
26 PqDisplayPcPresentation(procId : OutputLevel := 2);;
27 #comment: save the presentation to a different file by supplying <OutputFile>
28 #sub <OutputFile> for <ANUPQData.outfile> if set and ok
29 PqSavePcPresentation(procId, ANUPQData.outfile);;