Debian Codegraph @

examples/B4-4-a-i

raw
1 #Example: "B4-4-a-i" . . . based on: examples/B4-4A
2 #Construction of B(4,4)
3 #vars: F, procId, class;
4 #options: OutputLevel, OutputFile
5 F := FreeGroup("a", "b", "c", "d");
6 procId := PqStart(F : Prime := 2, Exponent := 4);;
7 #comment: set a different print level by supplying <OutputLevel>
8 PqPcPresentation(procId : ClassBound := 6,
9 #sub <OutputLevel> for <1> if set and ok
10 OutputLevel := 1);;
11 PqSupplyAutomorphisms(procId, [ [[0,0,0,1],
12 [1,0,0,0],
13 [0,1,0,0],
14 [0,0,1,0]],
15
16 [[1,1,0,0],
17 [0,1,0,0],
18 [0,0,1,0],
19 [0,0,0,1]] ]);;
20 for class in [7 .. 11] do
21 PqNextClass(procId : QueueFactor := 20);
22 od;
23 #comment: save the presentation to a different file by supplying <OutputFile>
24 #sub <OutputFile> for <ANUPQData.outfile> if set and ok
25 PqSavePcPresentation(procId, ANUPQData.outfile);;