> Ah I see. I will implement a (naive) __reversed__() method for the > partitions (see http://docs.python.org/2/library/functions.html#reversed) > since we've removed __len__() from the partition parents. That way you can > just call `reversed(Partitions(5))` to iterate through in reverse. Expect > it on the next #13605 push. >
Done and pushed. > I have never seen an application of the "right to left" lexicographic >> ordering, although I have this vague feeling that it appears in Stanley's >> book (but then, so do most things!:). >> > > I've seen it, although it was in the context of simplicial complexes. > I've added it in case someone has an application for it. I will add more warnings about our convention between lex and rev lex orderings. Best, Travis -- 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/-/Igg_-FODdcAJ. 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.