Hi, I think what you're looking for is the parameter ``monomial_cmp`` of combinatorial free module. When you create your module, you can give a comparison function between elements so that they are sorted the way you want.
Cheers Viviane 2013/1/14 Frédéric Chapoton <fchapot...@gmail.com>: > Hello, > > I would like to change the default ordering of terms in some Modules with > basis, for the purpose of changing leading_term. > > More precisely, I would like to use my own term-orders for some free modules > on LabelledOrderedTrees, a bit like the choice of term orders on polynomials > algebras > > I have not been able to find if there is already a mechanism to do that. Any > idea ? > > Cheers, > > Frederic > > -- > 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/-/nEa-Ci4SwWcJ. > 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. -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. 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.