Re: [sage-support] About total degree of polynomial in Grobner basis of an ideal

2016-12-20 Thread NITIN DARKUNDE
Respected Sir, Thank you very much. I used this command and got the result. On Tue, Dec 20, 2016 at 3:12 PM, John Cremona wrote: > Use the degree() method to compute the degree of any polynomial. For > example: > > sage: R.=QQ[] > sage: I = Ideal(x^2-y,z^3+x^2) > sage: I.gro

Re: [sage-support] About total degree of polynomial in Grobner basis of an ideal

2016-12-20 Thread John Cremona
Use the degree() method to compute the degree of any polynomial. For example: sage: R.=QQ[] sage: I = Ideal(x^2-y,z^3+x^2) sage: I.groebner_basis() [z^3 + y, x^2 - y] sage: [f.degree() for f in I.groebner_basis()] [3, 2] On 20 December 2016 at 08:47, NITIN DARKUNDE wrote: > Dear group members,

[sage-support] About total degree of polynomial in Grobner basis of an ideal

2016-12-20 Thread NITIN DARKUNDE
Dear group members, Suppose I am working with an ideal in polynomial ring with n variables w.r.t. some ordering say degrevlex. If I compute groebner basis of that ideal, then is there any tool via which one can compute total degree of each of the polynomial in Groebner basis us