I was expecting to get the identity when I did the following:
G=SymmetricGroup(3)
G('(1,2)(1,2)')
but I get (1,2). How to tell Sage to compute a product of not necessarily disjoint cycles?
| 1 | initial version |
I was expecting to get the identity when I did the following:
G=SymmetricGroup(3)
G('(1,2)(1,2)')
but I get (1,2). How to tell Sage to compute a product of not necessarily disjoint cycles?
| 2 | retagged |
I was expecting to get the identity when I did the following:
G=SymmetricGroup(3)
G('(1,2)(1,2)')
but I get (1,2). How to tell Sage to compute a product of not necessarily disjoint cycles?
I was expecting to get the identity when I did the following:
G=SymmetricGroup(3)
G('(1,2)(1,2)')
sage: G = SymmetricGroup(3)
sage: G('(1,2)(1,2)')
but I get (1,2). (1,2).
How to tell Sage to compute a product of not necessarily disjoint cycles?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.