#include #include //From http://www.richelbilderbeek.nl/CppGetRandomNormal.htm double GetRandomNormal(const double mean = 0.0, const double sigma = 1.0) { boost::normal_distribution norm_dist(mean, sigma); static boost::lagged_fibonacci19937 engine; const double value = norm_dist.operator () ((engine)); return value; }