COMB D,L / D=DISTRIBUTIONS,<n>,<m>
lists distributions of <n> like elements into <m> different cells.
Example:
COMB DISTR,CUR+1 / DISTR=DISTRIBUTIONS,3,3
Distributions of 3 into 3 cells: N[DISTR]=10
0 0 3
0 1 2
0 2 1
0 3 0
1 0 2
1 1 1
1 2 0
2 0 1
2 1 0
3 0 0
COMB D,L / D=DISTRIBUTIONS,<n>,<m> MIN=<value or list of values>
MAX=<value or list of values>
lists distributions of <n> like elements into <m> different cells
The cell frequencies must be between given MIN and MAX values.
Example:
COMB D,CUR+1 / D=DISTRIBUTIONS,80,3 MIN=20,25,30 MAX=23,28,33
Distributions of 80 elements into 3 cells: N[D]=12
20 27 33
20 28 32
21 26 33
21 27 32
21 28 31
22 25 33
22 26 32
22 27 31
22 28 30
23 25 32
23 26 31
23 27 30
C = Other forms of COMB