random: various random number utilities | ||||||||||||||||||||||||||||
pick x. indices from shape y. (with repetition) note: y. for deal is data y. for dealx is $data similarly for toss and tossx --------------------------------------------------------- examples: p=: ;: 'anne dave mary tom' words=: ;: inverse words deal p mary anne dave tom words 3 deal p tom dave mary words 6 toss p mary mary dave dave mary tom dealx 2 3 0 1 1 1 0 2 1 2 0 0 1 0 3 dealx 3 5 7 2 4 6 1 0 6 2 4 5 4 tossx 2 3 0 2 1 2 1 1 0 2
| ||||||||||||||||||||||||||||
>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help User |