Continuous Gaussian distribution. More...
#include <twister.h>
Public Member Functions | |
double | next () |
Next random number. | |
double | operator() () |
Operator that returns the next random numbers. | |
randomGaussian (uniformRandomNumber &ur) | |
Constructor. Must be supplied with a uniform random number generator. | |
Continuous Gaussian distribution.
It uses the Box-Mueller transformation to convert a uniform random number into Gaussian distribution.