random_partition

synopsis: INT random_partition (OP w, p)

description:

returns a random partition p of the entered weight w. w must be an INTEGER object, p becomes a PARTITION object. Type of partition is VECTOR . Its the algorithm of Nijnhuis Wilf p.76


Send comments or suggestions to:
symmetrica (at) symmetrica

this page was automatically generated on So Aug 10 12:23:24 CEST 2008 on the machine btn6xa