4 * Copyright (c) 2007 Des Higgins, Julie Thompson and Toby Gibson.
10 * -linear and additive congruential random number generators
11 * (see R. Sedgewick, Algorithms, Chapter 35)
13 * Implementation: R. Fuchs, EMBL Data Library, 1991
16 #ifndef RANDOMGENERATOR_H
17 #define RANDOMGENERATOR_H
26 RandomGenerator(unsigned long s);
27 unsigned long addRand(unsigned long r);
33 unsigned long mult(unsigned long p, unsigned long q);