Franco posted this question on the trac server.  I thought I would post my 
answer here in case there is some discussion.

>  '''Outstanding question about the degree of an element:''' what do we 
want
> as the default behaviour? Should it:
> a. raise an error if the element is not homogeneous; or
> b. return the maximum of the degrees of the homogeneous summands?

The main use that I have for this function is that I want to
sum up to the degree of the symmetric function.  In this
usage, the degree should be the maximum (answer: a).

This is also consistent with what the degree function does
in symmetric functions and that is consistent with the degree
function of polynomials in a single variable.

-Mike

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sage-combinat-devel/-/TIaFE0zYH7sJ.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

Reply via email to