/* University College London Dept of P&A Course in C++ 3C59 | all rights reserved 1999 | | Utility: A class containing methods to to generate different types | of random numbers | | - uniform: generates in range 0-1 | - gauss: generates according to a gaussian | | | Author: P.Clarke */ #ifndef __rangen__h #define __rangen__h 1 #include #include class RanGen { public: // A method to return a random number with a uniform distribution // in the range 0-1 float uniform( ) ; // A method to return a random number with a Gaussian distribution // with a mean of 0 and a standard deviation of 1 float gauss( ) ; } ; #endif