Debian Codegraph @

examples/PqDescendants-1

raw
1 #Example: "PqDescendants-1" . . . based on manual example
2 #(demonstrates `PqDescendants' usage)
3 #vars: F, a, b, procId, G, des;
4 #options:
5 F := FreeGroup( "a", "b" ); a := F.1; b := F.2;
6 G := PcGroupFpGroup( F / [ a^2, b^2, Comm(b, a) ] );
7 #alt: do
8 #procId := PqStart( G );
9 #alt: sub <procId> for <G>
10 des := PqDescendants( G : OrderBound := 6, ClassBound := 5 );
11 Length(des);
12 List(des, Size);
13 List(des, d -> Length( PCentralSeries( d, 2 ) ) - 1 );