Fast rnorm alternative
fastRnorm(n, mean = 0, sd = 1, useDouble = FALSE)
n | number of observations |
---|---|
mean | mean value of the distribution |
sd | standard deviation of the distribution |
useDouble | use float or double internally |
A numeric vector of random values
Fast generation of normaly distributed random values. The default is to use single precision, since not all devices support calculations using double precision.