Random Perl Content
m.seaman at infracaninophile.co.uk
Sun May 19 07:29:42 BST 2013
On 18/05/2013 21:53, Randy J. Ray wrote:
> So my thought was that sure there's a RNG module out there that is OO,
> and encapsulates the seed and all other internal elements of the
> generation process. One that I can instantiate multiple instances of,
> and have them generate streams of random numbers that are independent of
> each other. The closest I've found is Math::Random::MT, which implements
> the Mersenne Twister pRNG. But I can't immediately tell from the docs
> whether the object instances it creates are truly independent of each
> other or not.
Why not just write each of your streams of random numbers to a file and
then just re-read the file when you need to reuse that sequence?
Dr Matthew J Seaman MA, D.Phil.
JID: matthew at infracaninophile.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 268 bytes
Desc: OpenPGP digital signature
Url : http://london.pm.org/pipermail/london.pm/attachments/20130519/200be200/signature.pgp
More information about the london.pm