Returns an approximation to a gaussian random number
mean
- the mean of the Gaussian distribution
sigma
- the standard deviation of the Gaussian distribution
none
#include "pgapack.h" double PGARandomGaussian(ctx, mean, sigma) PGAContext *ctx double mean double sigma
random.c
Example: To generate a Gaussian random number with mean 0.0 and standard deviation 1.0 use PGAContext *ctx; : r = PGARandomGaussian(ctx, 0.0, 1.0);