T
Tomek
Hello!
First of all, it is very hard to search CPAN for that module, cause almost
all modules contain words array and distribution
What am I going to achieve is to semi-randomly fill an array. There are 2
main goals: sum of elements, and min/max for each elem)
I have for example 2000 to split between 100 array elements. I don't want
to do this equally ( 100 x 20 ), but want to set a deviation, for example
50% so that minimum value for element is 5 and maximum is 15. All that
have to sum up to 2000 at the end.
I am sure somebody already written such module, I just can find it
Regards, T. Kraus
First of all, it is very hard to search CPAN for that module, cause almost
all modules contain words array and distribution
What am I going to achieve is to semi-randomly fill an array. There are 2
main goals: sum of elements, and min/max for each elem)
I have for example 2000 to split between 100 array elements. I don't want
to do this equally ( 100 x 20 ), but want to set a deviation, for example
50% so that minimum value for element is 5 and maximum is 15. All that
have to sum up to 2000 at the end.
I am sure somebody already written such module, I just can find it
Regards, T. Kraus