Use the degree() method to compute the degree of any polynomial.  For example:

sage: R.<x,y,z>=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 <darkundeni...@gmail.com> wrote:
> 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 using sage?
>
> --
> ----------------------------------------------------------------------
> Yours faithfully,
> -----------------------------------------------------------------------
> Mr. Nitin Shridhar Darkunde.
> Assistant Professor,
> Department of Mathematics,
> School of Mathematical Sciences,
> Swami Ramanand Teerth Marathwada University,
> Vishnupuri, Nanded-431 606 (M.S.), India.
> Mob. No:08275268895    Or    09273500312
> ********************************************************
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to