20 Aug
2009
20 Aug
'09
8:16 a.m.
On Sun, Aug 16, 2009 at 7:45 AM, er
Marco Guazzone wrote:
I think a function like this below would be very helpful: --- [snip] --- template
inline RealType rand(Generator& rng, const exponential_distribution & dist) { return -1.0 / dist.lambda() * std::log(1.0-rng()); } Here's something similar: https://svn.boost.org/svn/boost/sandbox/statistics/dist_random/
Thank you!
I've taken a look... Very interesting.
But. why using different statistical distribution classes
#include