gen_incl lower_bound upper_bound
produces values between lower_bound
and
upper_bound
, inclusive. It uses an ad hoc distribution that stresses boundary
conditions more often than a uniform distribution, while still able to produce any
value in the range. Raises if lower_bound > upper_bound
.
gen_uniform_incl lower_bound upper_bound
produces a generator for values uniformly
distributed between lower_bound
and upper_bound
, inclusive. Raises if
lower_bound > upper_bound
.