in reply to Efficient ways of storing a data set for random access

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

  • Comment on Re: Efficient ways of storing a data set for random access