James_H has asked for the wisdom of the Perl Monks concerning the following question:
use Math::GSL::Randist qw/:all/; use Math::GSL::RNG; my $rng = Math::GSL::RNG->new; my $random_number = $rng->get(1); my $x = gsl_ran_lognormal($random_number, 0.1, 0.2); print "$x\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: GSL lognormal random
by roboticus (Chancellor) on Mar 09, 2011 at 13:03 UTC | |
|
Re: GSL lognormal random
by Khen1950fx (Canon) on Mar 09, 2011 at 13:43 UTC | |
by James_H (Acolyte) on Mar 09, 2011 at 19:12 UTC |