Class equation of a group

asked 0 years ago

sagelearner gravatar image

updated 0 years ago

FrédéricC gravatar image

Is there any command for getting the class equation of a permutation group in SAGE?

Note that I am able to write a function for this. I am just wondering if there is any inbuilt function which serves my purpose.

Preview: (hide)

Comments

If G is your group, you could do [X.cardinality() for X in G.conjugacy_classes()]. Is that the information you want? I guess that splits the center into different pieces instead of collecting those together, but it's close to what you're asking for.

John Palmieri gravatar imageJohn Palmieri ( 0 years ago )