By downloading this code you agree to the
Source Code Use License (PDF). |
{ version = 1.03; (* of gauss.p 2011 May 06} (* begin module describe.gauss *) (* name gauss: generate a bunch of gaussianly distributed numbers synopsis gauss(gaussp:in, data: out, genhisparameters: out, output: out) files gaussp: parameter file controlling the program. Two numbers, one per line: seed: random seed to start the process total: the number of numbers to generate data: the input file for genhis. this is a set of numbers which should have gaussian distribution if the random number generator is a reasonable one. It will be N(0,1), a normal distribution with mean 0 and standard deviation 1. genhisparameters: control file for genhis. Copy or move to the name genhisp to control genhis. This gives the user flexibility. output: messages to the user description Test of a random number generator by creating a Gaussian distribution of numbers for plotting by genhis. Further details of the method are in email communications appended to the end of this program in a comment. example seed := 0.5; total := 10000; see also tstrnd.p, genhis.p, gentst.p author Thomas D. Schneider bugs none known technical notes % the constant n in procedure randomtest determines how many times the random number generator will be in a series of tests. if n is small, the the test will be poor, if it is large then the test may take a long time. *) (* end module describe.gauss *) {This manual page was created by makman 1.45}{created by htmlink 1.62}