search for: 3602842457u

Displaying 1 result from an estimated 1 matches for "3602842457u".

2007 Sep 23
0
initial scrambling of seed in do_setseed / RNG_Init
...init is called from set.seed, then it receives the argument of set.seed after the initial scrambling. If someone writes a user defined generator and wishes to get the original seed specified in set.seed (which is my situation), then it may be useful for him to know that the transformation seed = 3602842457U * (seed - 2358491998U); is the inverse to the initial scrambling. Hence, if it is applied to the value received by user_unif_init, it provides the original value specified by the user in set.seed. Let me point out that the initial scrambling does not eliminate seed 0. It only decreases the probabi...