You are doing it the hard way. Rather than painfully adjusting your random number function, just fake the random numbers using a noise function. If you do a web search for 'Gaussian' or 'Lorentzian' you should get something useful for random functions.
____________________
Jeremy
I didn't believe in evil until I dated it.
In reply to Re: list of random numbers with given avarage
by jepri
in thread list of random numbers with given avarage
by LupoX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |