DoublePartitionToString( pair )
converts the double partition pair to a string where the two partitions are separated by a point.
gap> d := DoublePartitions( 3 ); [ [ [ 1 ], [ 1, 1 ] ], [ [ 1 ], [ 2 ] ], [ [ 1, 1 ], [ 1 ] ], [ [ 1, 1, 1 ], [ ] ], [ [ 2 ], [ 1 ] ], [ [ 2, 1 ], [ ] ], [ [ 3 ], [ ] ], [ [ ], [ 1, 1, 1 ] ], [ [ ], [ 2, 1 ] ], [ [ ], [ 3 ] ] ] gap> for i in d do > Print( DoublePartitionToString( i )," "); > od; Print("\n"); 1.11 1.2 11.1 111. 2.1 21. 3. .111 .21 .3
GAP 3.4.4