commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <>
Subject Re: [Math] Best choice for default RNG in distributions?
Date Fri, 20 Jul 2012 17:48:05 GMT
On Thu, Jul 19, 2012 at 07:51:57PM -0700, Phil Steitz wrote:
> On 7/19/12 7:16 PM, Ted Dunning wrote:
> > One thing that should be considered is how a deterministic seed can be
> > injected during testing to make tests deterministic.
> That is one reason to keep the reseed method that exists now.  That
> method provides a seed to the underlying PRNG.  The "default" Gilles
> chose above (which I think is fine - sorry for non-response)
> generates a fixed sequence when started with a fixed seed.

No problem to keep the method, as syntactic sugar allowing to not keep a
reference to the RNG that was passed to the constructor of the distribution.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message