![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: Efficient ways of storing a data set for random accessby Zaxo (Archbishop) |
on Jan 29, 2004 at 03:45 UTC ( #324868=note: print w/replies, xml ) | Need Help?? |
You can get random numbers with a distribution function from Math::Random. The &Math::Random::random_normal function is exported by default. It takes up to three arguments, the number of samples to generate, their mean and their standard deviation. It will generate a single sample in scalar context. After Compline,
In Section
Seekers of Perl Wisdom
|
|