高斯随机数
即均值为0方差为1的随机数。做高阶拟真游戏会用到。/*gauss_random(mean,standard deviation)
* Implements the Polar form of the Box-Muller Transformation
*
* © Copyright 1994, Everett F. Carter Jr.
* Ported to GML by Tsa05
* Permission is granted by the author to use
* this software for any application provided this
* copyright notice is preserved.
*
* m = mean, s = standard deviation, return = double
* Recall that numbers beyond the Standard Deviation
* are possible (just not probable), and should be accounted for.
*
*/
**** Hidden Message ***** 好 看看 回复可见 我正愁这个呢~~~··
页:
[1]