
RANDOM KSET OF NSETName:
ksets of the original nset. This command generates a single random kset. The output is an array of size k that identifies the elements included in the kset.
where <k> is a number or parameter that specifies the size of the kset; and <y> is a variable where the random kset is saved. This command must be preceeded with the command
LET K = 3 LET Y = RANDOM KSET OF NSET FOR I = 1 1 K
The SEED command can be used to specify a seed for the random number generator.
LET N = 8 LET K = 3 LET Y = RANDOM KSET OF NSET FOR I = 1 1 K PRINT Y
Date created: 1/12/2009 