Search code examples
c++randommersenne-twister

C++ Mersenne Twister and Random numbers lib


I am migrating a large scientific simulation software to C++. In Java I used Cern Colt library and it included a complete list of random distributions.

What C++ library is normally used when different distributions (such as those listed on the provided link) are needed?

Smaller focused libraries are preferred (not like boost).

Thanks.


Solution

  • boost::random might be helpful to you.