| 32 | } |
| 33 | |
| 34 | double Random::getRandomExpDist(double lambda) { |
| 35 | std::exponential_distribution<double> distribution(lambda); |
| 36 | return distribution(mt_); |
| 37 | } |
| 38 | |
| 39 | double Random::getAngleRandom() { |
| 40 | return getRandomLinear(0.0, boost::math::constants::two_pi<double>()); |
no outgoing calls