708
edits
No edit summary |
m (spelling...) |
||
Line 88: | Line 88: | ||
::[[User:Geyser|geyser]] 03:12, 7 December 2007 (CET) | ::[[User:Geyser|geyser]] 03:12, 7 December 2007 (CET) | ||
Boy, what a ton of interest this little function generates :). The interval for r is [-0.999, 0.999] to be precise (it originates as [-1, 1] and it is multiplied with 0.999). And yes, it is supposed to be distributed uniformly. Here is the (pseudo)random number generator: [[wikipedia:Linear_congruential_generator|linear congruential generator]], the one from Numerical | Boy, what a ton of interest this little function generates :). The interval for r is [-0.999, 0.999] to be precise (it originates as [-1, 1] and it is multiplied with 0.999). And yes, it is supposed to be distributed uniformly. Here is the (pseudo)random number generator: [[wikipedia:Linear_congruential_generator|linear congruential generator]], the one from Numerical Recipes. | ||
[[User:Neo|Neo]] | [[User:Neo|Neo]] |
edits