GroupElements
Every element of a group, or — for a PermutationGroup or AlternatingGroup with a second, list argument — the elements at those positions (Part-style, negative counts from the end).
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
GroupElements✓GroupElements(group)all of group's elementsSageMath
enumeratio_group_elements(group)GroupElements(group, positions)a PermutationGroup's or AlternatingGroup's elements at positions, in its own orderSageMath
enumeratio_group_elements(group, positions)Typed signatures
| Type | Package | Applies |
|---|---|---|
(expression<AlternatingGroup> | expression<CyclicGroup> | expression<DihedralGroup> | expression<GroupDirectProduct> | expression<PermutationGroup>, list<integer>?) -> list<expression> | groupalgebra | always |
Details
- A
PermutationGroup's orAlternatingGroup's elements print as Cycles, not as GroupBasis labels — its elements are permutations, not abstract group-algebra basis vectors - The identity always comes first; the rest follow the ascending order of their one-line words
Examples
About
| Examples | 4 |
|---|---|
| Checked against | Wolfram Language 4 agreeSageMath 3 agree |
| Crosswalk | Wolfram LanguageSageMath ×2 |
Implementation
mapped
sagepackages/oracle/src/mappings.tsSage lists a group in its own order; the elements are sorted by one-line word, as Wolfram's GroupElements and ours order them.
mapped
sagepackages/oracle/src/mappings.ts See also: GroupOrder, PermutationGroup, AlternatingGroup, GroupGenerators