|
RANDOM PARTITIONName:
where r1, r2, ...., rk are positive integers. For example, if n = 6, then there are 3 partitions:
where <y> is a variable where the random partition is saved. This command must be preceeded with the command
LET Y = RANDOM PARTITION
The SEED command can be used to specify a seed for the random number generator.
LET N = 8
LET Y = RANDOM PARTITION
PRINT Y
Date created: 1/12/2009 |