Rgamma (rgammadouble)
By tholscla on Sat, 11/02/2013 - 10:53
Wraps R.rgamma for correct input and output
double rgammadouble(int a, double b, double c)
{ Rcpp::NumericVector x = rgamma(a,b,1/c);
return x(0);
}