Debian Codegraph @

examples/2gp-Rel

raw
1 #Example: "2gp-Rel" . . . based on: examples/2gp
2 #Construction of largest quotient of class 6 of a 2-group
3 #vars: F, procId, rels;
4 #options: OutputLevel
5 F := FreeGroup("a", "b");
6 rels := [ "[b, a, a]", "(a * b * a)^4"];
7 #alt: do
8 #procId := PqStart( F );
9 #comment: set a different print level by supplying <OutputLevel>
10 #alt: sub <procId> for <F>
11 Pq( F : Prime := 2, ClassBound := 6, Relators := rels,
12 #sub <OutputLevel> for <1> if set and ok
13 OutputLevel := 1 );