[[Rcpp::export]]
| 112 | |
| 113 | // [[Rcpp::export]] |
| 114 | NumericVector runit_rgamma(double a, double b) { |
| 115 | NumericVector o(5); |
| 116 | for (int i = 0; i < o.size(); i++) { |
| 117 | o[i] = R::rgamma(a, b); |
| 118 | } |
| 119 | return o; |
| 120 | } |
| 121 | |
| 122 | // [[Rcpp::export]] |
| 123 | NumericVector runit_rgamma_sugar(double a, double b) { |