Hi All! What is the status on a class for cores? Does that exist by now?
I would like to have some new methods in Partitions such as is_core and from_core_to_k_bounded which goes from k+1 cores to k-bounded partitions. Currently one can do sage: la = Partition([4,3,3,3,2,2,1]) sage: kappa = la.k_skew(4); kappa [[12, 8, 5, 5, 2, 2, 1], [8, 5, 2, 2]] sage: kappa.row_lengths() [4, 3, 3, 3, 2, 2, 1] but as far as I can see there is no inverse yet for k_skew if only kappa[0] is specified. Best, Anne On 4/9/11 11:11 AM, Florent Hivert wrote:
Hi there, Currently the methods core and quotient returns respectively a list and a list of list. Does anyone object on having them return a partition and a tuple of partition ? sage: Partition([7,7,5,3,3,3,1]).core(3) [1, 1] sage: type(Partition([7,7,5,3,3,3,1]).core(3)) <type 'list'> sage: sage: Partition([7,7,5,3,3,3,1]).quotient(3) [[2], [1], [2, 2, 2]] sage: type(Partition([7,7,5,3,3,3,1]).quotient(3)[0]) <type 'list'> In the long term, there could be a particular class for cores (there is already a prototype in the k-tableaux patch). But on the contrary of what is in this patch, I've rather have this class inherits from partitions. Any comments ? Cheers, Florent
-- 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.