Constructs a distribution with the given mean and standard deviation.

Synopsis

Declared in <absl/random/gaussian_distribution.h>

explicit
gaussian_distribution(
    result_type mean,
    result_type stddev = 1);

Parameters

Name

Description

mean

The mean, specifying the location of the peak.

stddev

The standard deviation.

Created with MrDocs