By downloading this code you agree to the
Source Code Use License (PDF). |
{version = 3.13; (* of gentst.p 1994 sep 5} (* begin module describe.gentst *) (* name gentst: test random generator synopsis gentst(gentstp:in, data: out, output: out) files gentstp: parameter file controlling the program. Three numbers, one per line: seed: random seed to start the process total: the number of numbers to generate components: the number of random numbers between 0 and 1 to add together to generate the total 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. genhisp: control file for genhis output: messages to the user description test of a random number generator by creating a gaussian distribution of numbers for plotting by genhis example seed := 0.5; total := 10000; components:= 100; see also tstrnd.p, genhis.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.gentst *) {This manual page was created by makman 1.45}{created by htmlink 1.62}