基于Box–Muller实现的产生符合正态分布随机数的方法 不是很严谨,够用就行了 ----正态分布随机数 期望值为0.5 范围为0~1 math.boxMullerRandom = function()local u = math.random()local v ……