Rechercher une page de manuel
PGARandomGaussian
Langue: en
Version: 301812 (debian - 07/07/09)
Section: 5 (Format de fichier)
NAME
PGARandomGaussian - returns an approximation to a Gaussian random numberINPUT PARAMETERS
- mean
- - the mean of the Gaussian distribution
- sigma
- - the standard deviation of the Gaussian distribution
OUTPUT PARAMETERS
- none
SYNOPSIS
#include "pgapack.h" double PGARandomGaussian(ctx, mean, sigma) PGAContext *ctx double mean double sigma
LOCATION
random.cEXAMPLE
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);
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre