Displaying 1 result from an estimated 1 matches for "oneseed".
Did you mean:
nested
2009 May 12
4
different results on linux and windows
...p)). This seed will be used
to calculate some random subsets and to
create a Mersenne Twister object with MTRand rr(seed); (row 156, vkm.cpp).
The MTRand Object rr is called with an unsigned Integer, so the
important function in the mersenneTwister.h class is in line 87:
MTRand( const uint32& oneSeed );
According to that the Random Number Generator uses the methods
initialize(oneSeed); and reload(); (inside the method, beginning in
line 215)
This both methods (line 283 and line 301) are using beside others
registers. Could it be that there is a different behavior between
Windows and Linux?...