Debian Codegraph @

examples/2gp-SP-2-Rel-i

raw
1 #Example: "2gp-SP-2-Rel-i" . . . based on: isom/2gp.com
2 #vars: F, rels, procId;
3 #options: OutputLevel, ClassBound, StandardPresentationFile
4 F := FreeGroup("a", "b");
5 rels := ["a^4", "b^2*[b, a, b]^-1" ];
6 procId := PqStart(F : Prime := 2, Relators := rels);;
7 #comment: set a different print level by supplying <OutputLevel>
8 #add <OutputLevel> for <value> if set and ok
9 #PqSetOutputLevel(procId, value);;
10 PqSPComputePcpAndPCover(procId : ClassBound := 2);;
11 #comment: set a different `ClassBound' by supplying <ClassBound>
12 #comment: also save the presentation to a file by supplying <StandardPresentationFile>
13 PqSPStandardPresentation(procId, [ [[1,0,0,1],
14 [0,1,0,0]],
15
16 [[1,0,0,0],
17 [0,1,0,1]],
18
19 [[1,1,1,0],
20 [0,1,1,1]] ]
21
22 : # options
23 #add <StandardPresentationFile> for <value> if set and ok
24 # StandardPresentationFile := value,
25 #sub <ClassBound> for <10> if set
26 ClassBound := 10,
27 PcgsAutomorphisms);;
28 PqDisplayPcPresentation(procId);;