Debian Codegraph @

examples/R2-5-x-i

raw
1 #Example: "R2-5-x-i" . . . based on: GrpFP_2_pQuotient7
2 #Construction of R(2,5) extended to see how many
3 #words starting with the first pc generator squared
4 #need to be considered when doing the exponent law checks
5 #vars: F, procId;
6 #options: OutputLevel1, OutputLevel2, OutputFile
7 F := FreeGroup("a", "b");
8 procId := PqStart(F : Prime := 5, Exponent := 5);;
9 #comment: set a different print level by supplying <OutputLevel1>
10 PqPcPresentation(procId : ClassBound := 6,
11 #sub <OutputLevel1> for <1> if set and ok
12 OutputLevel := 1);;
13 PqSetupTablesForNextClass(procId);;
14 PqTails(procId, 0);;
15 PqDoConsistencyChecks(procId, 0, 0);;
16 #comment: set a different print level by supplying <OutputLevel2>
17 #sub <OutputLevel2> for <3> if set and ok
18 PqSetOutputLevel(procId, 3);;
19 PqDoExponentChecks(procId);;