next up previous contents
Next: Statistical Distributions Up: Maths Utilities Previous: Simple Functions   Contents

Random Number Generator

There are also a set of centralised random number routines for Monte-Carlo work.

extern double  rand_1(void);

extern int     rand_bit(void);

extern int     rand_int(int a, int b);

extern double  rand_unif(double x, double y);

extern double  rand_normal(double mu, double sigma);

extern void    rand_time_seed(void);



root 2017-09-25