Home | Trees | Index | Help |
|
---|
Package young :: Module mathformat |
|
Function Summary | |
---|---|
pretty print a factorial. | |
pretty print a partition. | |
pretty print a skew tableau. | |
pretty print a tableau. | |
pretty print all the tableaux. | |
_test()
| |
pretty print a cycle. |
Function Details |
---|
pprint_factorial(number)pretty print a factorial.>>> print pprint_factorial(10) 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 >>> |
pprint_partition(part, prefix='(', suffix=')')pretty print a partition.>>> part = (3, 2, 1, 1) >>> print pprint_partition(part) (3,2,1,1) >>> |
pprint_skew_tableaux(tableaux)pretty print a skew tableau.>>> tableau = [ ... [None, None, 1], ... [None, 2, 3], ... [5],] >>> print pprint_skew_tableaux(tableau) * * 1 * 2 3 5 <BLANKLINE> >>> |
pprint_tableaux(tableaux)pretty print a tableau.>>> tableau = [ ... [1, 2, 3], ... [4, 5, 6], ... [7],] >>> print pprint_tableaux(tableau) 1 2 3 4 5 6 7 <BLANKLINE>>>> |
pprint_whole_tableaux(part, tableaux)pretty print all the tableaux. |
pprint_cycle(grp, ignore_single=True)pretty print a cycle. if ignore_single is True, don't pretty print a single element. >>> c = ((1,4), (2, ), (3,)) >>> print pprint_cycle(c) (1 4) >>> print pprint_cycle(c, False) (1 4)(2)(3) |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun May 15 17:34:14 2005 | http://epydoc.sf.net |