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

Synopsis

Declared in <absl/random/uniform_real_distribution.h>

explicit
uniform_real_distribution(
    result_type lo,
    result_type hi = 1);

Parameters

Name

Description

lo

The lower bound of the half‐open interval.

hi

The upper bound of the half‐open interval.

Created with MrDocs