Introduction - If you have any usage issues, please Google them yourself
(1) This a pseudo-random number generator, a period of 2 ^ 19937- 1, can be used to encrypt the file description is as follows: mtrand.h include file contains the class declaration mtrand.cpp library file contains non-inline member mttest cpp small program to test the random number generator mttest.out output file for initialization (2): two ways, SEED (s) or seed (array, length) random number generator: MTRand_int32 produce the 32 unsigned integer. MTRand produce uniform double-precision floating-point number, in halfopen time interval [0, 1) (32-bit resolution). MTRand_open produce uniform double-precision floating-point numbers, the open interval (0,1) (32-bit resolution). MTRand_closed produce uniform double-precision floating-point numbers, the closed interval [0, 1] (32-bit resolution). MTRand53 produce uniform double-precision floating-point number, in the half-open interval [0,1) (53-bit resolution).