Skip to contents

Rcpp runif.

Usage

rcpp_runif(min, max)

Arguments

min, max

Double with boundaries of random number.

Value

double

Details

Draws random number from uniform distribution.

References

<https://www.cplusplus.com/reference/random/uniform_real_distribution/>

How to use time-based seed based on <http://www.cplusplus.com/reference/algorithm/shuffle/>