Hi everyone >>> from sympy.combinatorics.named_groups import SymmetricGroup >>> s_4 = SymmetricGroup(4) # symmetricGroup of order 4
>>> p = Permutation(1, 2, 3) >>> p in s_4 False >>> s_4.contains(p) True Regarding my second question: I am aware that contrary to GAP, which makes Groups like a little differently >>> s_4 = SymmetricGroup(4) >>> s_4.is_group False while in GAP gap> s_4:= SymmetricGroup(4) gap> IsGroup(s_4) True Is there any reason for why things work this way? Is thought to have some benefit contrary to how GAP defines it? Gaurav Dhingra (gxyd) -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/a20749c7-33e4-4558-b220-ead863509367%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
