TinyMT is an efficient MersenneTwister pseudo random number generator proposed by Mutsuo Saito (Hiroshima University) and Makoto Matsumoto (The University of Tokyo).
This code implements TinyMT for 32 and 64 bits using C++ classes and it is heavily inspired on TinyMT version 1.1.2; see repo https://github.com/MersenneTwister-Lab/TinyMT.
The code provides unit tests implemented using GTest. To enable these tests, enable the flag -DBUILD_TESTING=On
. CMake will automatically will clone GTest from GitHub and will build the tests appropriately. Note that GTest requires a compiler that supports C++ 11.
This project uses the 3-Clause BSD license. See LICENSE file for more information.
This project includes components from TinyMT. For more licensing information see the NOTICE file.