Skip to content

num::rng_uniform

Defined in header <container/util/math.hpp>

real rng_uniform(rng_state *r, real lo, real hi);

Draw a uniform sample from \([\mathrm{lo}, \mathrm{hi})\).