[GAP Forum] ConjugacyClasses function question

Marek Mitros marek at mitros.org
Fri May 11 16:21:32 BST 2012


Hi,

There is function Representative which you can use.

List(ConjugacyClasses(G), Representative);

returns representative element from each conjugacy class. If the size
of conjugacy class is small then you can use AsList function to
convert conjugacy class to list of its elements.

cg:=ConjugacyClasses(G);
c1:=AsList(cg[2]);;

Regards,
Marek



More information about the Forum mailing list