diff options
Diffstat (limited to 'src/main/random.h')
-rw-r--r-- | src/main/random.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/main/random.h b/src/main/random.h new file mode 100644 index 0000000..6ba6264 --- /dev/null +++ b/src/main/random.h @@ -0,0 +1,26 @@ +/* + * random.h + * + * Created on: May 23, 2011 + * Author: jakob + */ + +#ifndef RANDOM_H_ +#define RANDOM_H_ +#include <cstdlib> +#include <time.h> + +namespace vhc { + +namespace random { + +void seed(unsigned int s); + +double uniform(double a, double b); + +double gaussian(double average, double standardDeviation); + +} //random + +} //vhc +#endif /* RANDOM_H_ */ |