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 wrote:
> Suppose I have a polynomial p like
>
> R.=PolynomialRing(SR)
> p= x^3+x^4+x^5
Suppose I have a polynomial p like
R.=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 re