16 Feb
2010
16 Feb
'10
2:07 p.m.
Hello, I have this code: boost::mt19937 mers; boost::uniform_01boost::mt19937 uf01(mers); boost::exponential_distribution<> ed(0.1); I call the operator() on uf01 3 million times, as uf01() I don't quite understand the warning in the documentation about the constructor taking the generator by value. This means that my mers doesn't change between calls to uf01(). Is this bad? Will it affect the quality of the randomness of the uniform numbers generated? I also have boost::math::normal nrm; and I use boost::math::cdf(nrm, …) and boost::math::quantile( nrm, … ); Are there any issues with using both boost∷math∷normal and other distributions from the boost∷random library? Regards,