The Cuik KD-Tree Library


random.h
Go to the documentation of this file.
1 #ifndef RANDOMH
2 #define RANDOMH
3 
21 void randomReset();
22 
32 void randomSet(unsigned int seed);
33 
41 inline double randomDouble();
42 
50 double randomNormal();
51 
52 #endif
void randomReset()
Resets the random seed.
Definition: random.c:18
double randomNormal()
Returns a random double acording to a normal distribution.
Definition: random.c:38
double randomDouble()
Returns a random double in the [0,1] interval.
Definition: random.c:33
void randomSet(unsigned int seed)
Sets the random seed.
Definition: random.c:25