Thank you, this helps.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/g
Actually I am getting the same result for other permutations, like:
sage: h=PermutationGroupElement('(1,3,2)')
sage: k=PermutationGroupElement('(1,2,3),(4,5)')
sage: k^2==h,h==k^2
(False, True)
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support
When comparing finite sets, I receive unexpected results.
Version: 3.4 (Sage on the web)
Code:
sage: S=Set([1,2])
sage: T=Set([3])
sage: ST,S==T
(True, False, False)
The output seems to be the same whatever I put in for S and T, as long
as I don't make them equal. Is there another easy way to com
I am slightly confused about Permutation groups. The following, I
think, is part of the problem.
Version: 3.4 (Sage on the web)
Code:
sage: h=PermutationGroupElement('()')
sage: k=PermutationGroupElement('(1,2)')
sage: k^2==h,h==k^2
(False, True)
Can someone explain to me why the comparisons give