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,
Zaxo
In reply to Re: Efficient ways of storing a data set for random access
by Zaxo
in thread Efficient ways of storing a data set for random access
by dthacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |