How to randomly generate n numbers in the interval [0,1] with a desired mean, which are distributed as uniform as possible?

前端 未结 0 1596
無奈伤痛
無奈伤痛 2020-12-10 04:38

If I generate n random numbers in the interval [0,1] then the mean will be around 0.5 and they will be uniformly distributed. How could an algorithm/formula look li

相关标签:
回答
  • 消灭零回复
提交回复
热议问题