Constructors

Synopses

Declared in <absl/random/uniform_real_distribution.h>

Constructs a distribution over the half‐open interval [0, 1).]

Constructs a distribution from the given parameter set.

explicit
uniform_real_distribution(param_type const& param);

Constructs a distribution over the half‐open interval [lo, hi).]

Parameters

Name

Description

param

The parameter set.

lo

The lower bound of the half‐open interval.

hi

The upper bound of the half‐open interval.

Created with MrDocs