Runif (runifdouble)
By tholscla on Sat, 11/02/2013 - 10:51
Wraps R.runif for correct input and output.
double runifdouble()
{ Rcpp::NumericVector x = runif(1);
return x(0);
}