How do I detect the degree of a polynomial (say over Q) in one or
several variables?

x = var('x');
B = x^2;
B.deg()

gives an error.  How about

x,y = var('x , y');
B = x^2 + y^3;

and we want degree of B with respect to x? (presuming wrt y is the
same)

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to