Fast runif alternative
fastRunif(n, min = 0, max = 1, useDouble = FALSE)
n | number of observations |
---|---|
min | lower limit of the distribution |
max | upper limit of the distribution |
useDouble | use float or double internally |
A numeric vector of random values
Fast generation of uniformly distributed random values. The default is to use single precision, since not all devices support calculations using double precision.