What's the best way to generate normally distributed random numbers in C?
1 answer
There are many algorithms for generating a normal distribution if you have a uniform random generator. Check out this section of the wikipedia article. One possible approach is to use the central limit theorem . The approach here would be to generate a set of evenly distributed integers and then compute their arithmetic mean.
+1
source to share