Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Re: Can I seed srand() with results from rand()?by Anonymous Monk |
on Jul 11, 2003 at 16:59 UTC ( [id://273479]=note: print w/replies, xml ) | Need Help?? |
> He is looking for predictability. There's predictability and there's predictibility. It tends to be bad for simulations if your "random" numbers start being the same on every pass through the main loop. > Also, calling garden variety rand() does not reduce the entropy of the system because garden variety rand() is purely deterministic. Entropy measures the number of possible states of a system. Determinism is about the transitions between states. The two concepts are largely orthogonal.
In Section
Seekers of Perl Wisdom
|
|