in reply to Re: Randomly generating histograms
in thread Randomly generating histograms
also, you can drop the int, like i have. and you meanmap ++$array[rand $elements], 1..$sum;
don't you?$array[$_] ||= 0 for 0..$elements-1;
~Particle ;̃
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: Re: Randomly generating histograms
by merlyn (Sage) on Mar 26, 2002 at 22:24 UTC | |
by particle (Vicar) on Mar 27, 2002 at 00:45 UTC |