simulatedphysics / MCSM

Monte Carlo for Statistical Mechanics
0 stars 0 forks source link

Rewrite all random number generation using C++11 standard #17

Closed obrienpja closed 5 years ago

obrienpja commented 5 years ago

Use uniform_real_distribution, uniform_int_distribution, random_device, and mt19937 to generate random doubles and ints, instead of std::rand().