00001
00020
00021
00022 # ifndef _RAND_H
00023 # define _RAND_H
00024
00025 # include "global.h"
00026
00027 # define SIMPLE_SPRNG
00028
00029 # define SEED 01234567
00030
00031 #include "random.h"
00032
00033
00034 EXTERNAL int rndcalcflag;
00035 EXTERNAL long double rndx1, rndx2;
00036 EXTERNAL Random* m_random;
00037
00038
00039
00040 void randomize();
00041 long double randomperc();
00042 int rnd (int low, int high);
00043 long double rndreal (long double low, long double high);
00044 void initrandomnormaldeviate();
00045 long double noise (long double mu, long double sigma);
00046 long double randomnormaldeviate();
00047
00048 # endif