min(p.exponents()) gives it. I have not head of the expression "leading order", and maybe the people who implemented polynomials in Sage had not either!
John Cremona On 19 January 2013 16:34, marco nijmeijer <[email protected]> wrote: > Suppose I have a polynomial p like > > R.<x>=PolynomialRing(SR) > p= x^3+x^4+x^5 > > Its leading order is 3 and its degree is 5. I know how to get the degree: > p.degree() > and I assume there is something equally simple to get the leading order. I > can't find it though. Thank you for any assistence. > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > Visit this group at http://groups.google.com/group/sage-support?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en.
