NAME
Math::Random::GaussianRange - Given a range, generate a set of random numbers normally distributed.
VERSION
version 0.003
generate_normal_range
Given a range, returns a reference to an array of randomly generated numbers which are normally distributed i.e. clustered around the mean. The module uses a best approximation, values are distributed within 3 standard deviations from the perceived mean.
my $rh = {
min => 0, # minimum
max => 1000, # maximum
n => 100, # number of numbers returned (default 100)
round => 0, # return integers
}
my $ra = generate_normal_range( $rh );
AUTHOR
Spiros Denaxas <s.denaxas@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Spiros Denaxas.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.