On Tuesday, September 4, 2012 6:21:11 AM UTC-7, John Cremona wrote: > > If pi is a permutation, e.g. defined by pi=permutations(4)[3], then > pi.signature() returns what I have always called the "sign" of pi, and > none of pi.sign(), pi.sgn(), sign(pi), sgn(pi) work. >
But: sage: G = SymmetricGroup(2) sage: a = G("(1,2)") sage: a.sign() -1 So I'd say +1 to greater coordination between group element permutations and purely combinatorial permutations overall, and in particular having .sign() as John suggests for the "other" permutations. Rob -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.