Suppose I want to generate partitions that are in an arithmetic progression with a particular step size...seems straightforward enough, so I just set max_slope and min_slope to that step size. Is this interpretation correct?
Ps=Partitions(11,max_slope=-1, min_slope=-1) print Ps.cardinality() for P in Ps: print P I expected this to produce 2 [11] [5,6] but it also appears to include the partition [4,3,3] and this behavior seems to persist in IntegerVectors and Compositions as well. Am I using the functions correctly? Thanks in advance... -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.