| 145 | } |
| 146 | |
| 147 | Real RandomGamma (Real alpha, Real beta) |
| 148 | { |
| 149 | std::gamma_distribution<Real> distribution(alpha, beta); |
| 150 | int tid = OpenMP::get_thread_num(); |
| 151 | return distribution(generators[tid]); |
| 152 | } |
| 153 | |
| 154 | unsigned int Random_int (unsigned int n) |
| 155 | { |
no test coverage detected