search for: wichmann_hil

Displaying 1 result from an estimated 1 matches for "wichmann_hil".

Did you mean: wichmann_hill
2007 Sep 23
0
initial scrambling of seed in do_setseed / RNG_Init
...6,8 @@ BM_norm_keep = 0.0; /* zap Box-Muller history */ /* Initial scrambling */ - for(j = 0; j < 50; j++) - seed = (69069 * seed + 1); + /* Equivalent to 50 iterations of seed = (69069 * seed + 1) */ + seed = (1100682473U * seed + 2358491998U); switch(kind) { case WICHMANN_HILL: case MARSAGLIA_MULTICARRY: Let me add also the following remark. The help(Random.user) page says Optionally, the user can supply the entry point 'user_unif_init', which is called with an 'unsigned int' argument when 'RNGkind' (or 'set.seed') i...