Let $G$ be a finite group. How could we obtain all conjugacy classes of element centralizers of $G$ by GAP?
(By the centralizer of an element $g$ in $G$, I mean the subgroup $C_G(g):=\{x\in G | xg=gx \}$ of $G$ and by the conjugacy class of $C_G(g)$ I mean the set $\{x^{-1}C_G(g)x | x\in G\}$).
Thank you so much!
If you compute
ConjugacyClassesyou get a list of classes, each having aRepresentativeand aCentralizer, these centralizers are (with duplicates if two classes have the same centralizer, e.g. Galois-conjugate elements) the different possible centralizers in $G$: