#12278: misleading (outdated) docstring in partitions_restricted
----------------------------------------+-----------------------------------
       Reporter:  AlexGhitza            |         Owner:  sage-combinat
           Type:  defect                |        Status:  new          
       Priority:  minor                 |     Milestone:  sage-5.4     
      Component:  combinatorics         |    Resolution:               
       Keywords:  partitions docstring  |   Work issues:               
Report Upstream:  N/A                   |     Reviewers:               
        Authors:                        |     Merged in:               
   Dependencies:                        |      Stopgaps:               
----------------------------------------+-----------------------------------

Comment (by andrew.mathas):

 Regarding the lexicographic ordering, I disagree with Stanley and always
 call this the lexicographic ordering. By definition, the lexicographic
 ordering on partitions should be the "dictionary ordering" where the parts
 of the partitions are read from left to right and the "letters" are
 ordered naturally with 1<2<3<.... Hence, for partitions of 5 we have
 {{{
 (1,1,1,1,1)<(2,1,1,1)<(2,2,1)<(3,1,1)<(3,2)<(4,1)<(5)
 }}}
 I think that this is the more common usage. In any case, given Stanley, it
 seems that both definitions are used so it would be enough in the
 documentation to state clearly which convention sage uses and perhaps add
 a warning the sage convention disagrees with the other ordering.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12278#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to