John Cremona
unread,Sep 4, 2012, 9:21:07 AM9/4/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SAGE devel
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.
Is there a good reason for not having, at least, the alias pi.sign =
pi.signature?
I cannot remember often having heard people talk of a permutations's
signature (let alone its parity, pace wikipedia) but I am prepared to
be over-ruled by an expert in combinatorics. However I still think
that the abbreviation "sign" would be reasonable to have too.
Perhaps number-theorists are just lazy:
sage: a = QuadraticField(101).gen()
sage: a.minimal_polynomial() # fails
sage: a.minimum_polynomial() # fails
sage: a.minpoly()
x^2 - 101
John