| gaussianRandomNumber001 | view, link (18 KB, 600×400) | | source (22.5 KB) | Mon, 10 May 04, 9:21pm UTC | |
| The function gaussian on the first frame of the main timeline returns a random number that follows a Gaussian distribution with a mean of zero and a standard deviation of one. Note that the function can be modified to produce two guassian random numbers per call. One can use x2*w in the last line of the function as well as x1*w . This function is based on the algorithm found here. | |
|