Constructors
Synopses
Declared in <absl/random/gaussian_distribution.h>
Constructs a distribution with mean 0 and standard deviation 1.
Constructs a distribution from the given parameter set.
explicit
gaussian_distribution(param_type const& p);
Constructs a distribution with the given mean and standard deviation.
explicit
gaussian_distribution(
result_type mean,
result_type stddev = 1);
Parameters
Name |
Description |
p |
The parameter set. |
mean |
The mean, specifying the location of the peak. |
stddev |
The standard deviation. |
Created with MrDocs