next up previous contents
: Statistical Distributions : Maths Utilities : Simple Functions   目次

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 平成20年12月5日