absl::gaussian_distribution

Generates a number conforming to a Gaussian distribution.

Synopsis

Declared in <absl/random/gaussian_distribution.h>

template<typename RealType = double>
class gaussian_distribution;

Types

NameDescription
param_type The parameter set of the distribution.

Type Aliases

NameDescription
result_type The type of the values produced by the distribution.

Member Functions

NameDescription
gaussian_distribution [constructor]Constructors
max Returns the largest value the distribution can produce.
mean Returns the mean distribution parameter.
min Returns the smallest value the distribution can produce.
operator() Function call operators
param param overloads
reset Resets the internal state of the distribution.
stddev Returns the deviation distribution parameter.

Friends

NameDescription
absl::operator!=Compares two distributions for inequality.
absl::operator==Compares two distributions for equality.