Generates a number conforming to a Gaussian distribution.

Synopsis

Declared in <absl/random/gaussian_distribution.h>

template<typename RealType = double>
class gaussian_distribution;

Types

Name

Description

param_type

The parameter set of the distribution.

Type Aliases

Name

Description

result_type

The type of the values produced by the distribution.

Member Functions

Name

Description

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

Name

Description

absl::operator!=

Compares two distributions for inequality.

absl::operator==

Compares two distributions for equality.

Created with MrDocs