search for: mt11213b

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

2005 Dec 21
2
Random numbers
...ionality is being replicated within a C+ program. The outputs are to be compared to validate the conversion somewhat - however (as is always the case) I have stuffed my code with random number calls. Random uniform numbers in C+ are being produced using the (Boost) mersenne-twister generators (mt11213b & mt19937) - which is the default type of generator in R (if I read things correctly). If it was all within R I would just set the seed for reproducibility. Basically - how do I specify in C+ for a set of random uniform numbers such that they are the same as from R? I have considered the po...