This HTML automatically generated with rman for NEMO
Table of Contents
randomizer - select M random indices from N
int *randomizer(int n, int m)
randomizer returns an index array
of size m, containing indices in the range 0..n-1, drawn randomly. The array
was allocated using allocate(3NEMO)
, and should be freed using standard
free(3)
.
m is also allowed to be as large as Bn, in which case it will return
a fully permuted index array.
xrandom(3NEMO)
, allocate(3NEMO)
~/src/kernel/misc randomize.c
Peter Teuben
28-feb-08 written PJT
Table of Contents