there are 2 functions to compute the degree of the polynomials : degree() 
and total_degree(). 
when we use them:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

>>> poly(x**3+y**5+z).degree()              #wrong
3
>>> poly(x**3+y**5+z).total_degree()          #correct
5


>>>poly(y**6*x**3+y**5+z).degree()       #wrong
3
>>> poly(y**6*x**3+y**5+z).total_degree()      #correct
9

___________________________________________________________________________________________________________________________________________________________________

mentors please clarify their significance. I am finding it a bit ambiguous.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to