Boost logo

Boost Users :

From: Rui Carvalho (rui.carvalho_at_[hidden])
Date: 2004-12-08 09:02:49


Vladimir Prus wrote:
> Sure, because the random number generator is initialized with the same
seed
> on each invocation. You can seed it with current time or something like
> that.

Thanks for this. Is there anything on the docs/examples on how to initialize
the random number generator?

I mean, boost/random/mersenne_twister.hpp seems to be an adaptation of the
original Mersenne Twister by Matsumoto and Nishimura -is it the same as the
original?

Thanks,
Rui


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net