Debian Codegraph @

examples/PqDescendants-2

raw
1 #Example: "PqDescendants-2" . . . based on manual example
2 #(demonstrates `PqDescendants' usage)
3 #We compute all capable descendants of order 27
4 #of an elementary abelian group of order 9.
5 #vars: F, procId, G, A, des;
6 #options:
7 F := FreeGroup( 2, "g" );
8 G := PcGroupFpGroup( F / [ F.1^3, F.2^3, Comm(F.1, F.2) ] );
9 #alt: do
10 #procId := PqStart( G );
11 #alt: sub <procId> for <G>
12 des := PqDescendants( G : OrderBound := 3, ClassBound := 2,
13 CapableDescendants );
14 List(des, d -> Length( PCentralSeries( d, 3 ) ) - 1 );
15 ## For comparison let us now compute all proper descendants
16 PqDescendants( G : OrderBound := 3, ClassBound := 2);