Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

remove_vertical_border_strip

Hello, I'm interested to know if there is a way to define the analoge of "remove_horizontal_border_strip(k)" for integer partitions, but for vertical border strip. I think that maybe with IntegerListLex.

remove_vertical_border_strip

Hello, I'm interested to know if there is a way to define the analoge of "remove_horizontal_border_strip(k)" for integer partitions, remove_horizontal_border_strip(k) which returns the partitions obtained from self by removing an horizontal border strip of length k.

For example:

Partition([5,3,1]).remove_horizontal_border_strip(1).list()
 [[5, 3], [5, 2, 1], [4, 3, 1]]

but for vertical border strip. I think that maybe with IntegerListLex.strip.