Query: pgarandomgaussian
OS: debian
Section: 5
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGARandomGaussian(5) PGAPack PGARandomGaussian(5)NAMEPGARandomGaussian - returns an approximation to a Gaussian random numberINPUT PARAMETERSmean - the mean of the Gaussian distribution sigma - the standard deviation of the Gaussian distributionOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" double PGARandomGaussian(ctx, mean, sigma) PGAContext *ctx double mean double sigmaLOCATIONrandom.cEXAMPLEExample: 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); 05/01/95 PGARandomGaussian(5)