How can I get sage to list all left and right cosets; for example, all cosets of A4 in S4.
1 | initial version |
How can I get sage to list all left and right cosets; for example, all cosets of A4 in S4.
2 | No.2 Revision |
How can I get sage to list all left and right cosets; for example, all cosets of A4 in S4.S4.
From a sample worksheet, I tried evaluating the following, but only got a traceback:
G = SymmetricGroup(3)
a = G("(1,2)")
H = G.subgroup([a])
rc = G.RightCoset(H, side='right'); rc
Traceback (click to the left of this block for traceback) ... AttributeError: 'SymmetricGroup_with_category' object has no attribute 'RightCoset'
3 | No.3 Revision |
How can I get sage to list all left and right cosets; for example, all cosets of A4 in S4. From a sample worksheet, I tried evaluating the following, but only got a traceback:
G = SymmetricGroup(3)
a = G("(1,2)")
H = G.subgroup([a])
G.subgroup([a])
rc = G.RightCoset(H, side='right'); rc
Traceback (click to the left of this block for traceback) ... AttributeError: 'SymmetricGroup_with_category' object has no attribute 'RightCoset'