random.h
Go to the documentation of this file.
unsigned int randomMax(unsigned int m) Returns a random integer in the range [0,m]. Definition: random.c:77 double randomNormal() Returns a random double acording to a normal distribution. Definition: random.c:38 unsigned int randomWithDistribution(unsigned int m, double s, double *d) Random number with a given discrete distribution. Definition: random.c:86 double randomInInterval(Tinterval *t) Returns a random double in the given interval. Definition: random.c:67 void randomOnBall(double r, unsigned int k, double *p) Random number on a k dimensional ball. Definition: random.c:110 void randomInBall(double r, unsigned int k, double *p) Random number in a k dimensional ball. Definition: random.c:126 Definition of the Tinterval type and the associated functions. |
Follow us!