A mersenne twister based fake random number generator.
Please refer https://en.wikipedia.org/wiki/Mersenne_Twister.
Note that it has its own state so it is not thread safe.
So you should use RandomGenerator.RNG to get a thread local instance to use.
That's thread-safe.
A mersenne twister based fake random number generator. Please refer https://en.wikipedia.org/wiki/Mersenne_Twister. Note that it has its own state so it is not thread safe. So you should use RandomGenerator.RNG to get a thread local instance to use. That's thread-safe.