00001 #ifndef _RANDGEN_H_ 00002 #define _RANDGEN_H_ 00003 00004 #include <math.h> 00005 #include <stdlib.h> 00006 00007 extern long IDUM; 00008 00009 double uniform_rand(long *idum); 00010 void rseed(long idum); 00011 double unirnd(void); 00012 double normrnd(void); 00013 00014 #endif