79818199

Date: 2025-11-12 20:10:34
Score: 2.5
Natty:
Report link

The probability density formula for std::exponential_distribution according to cppreference is P(x|λ) = λe^(-λx)

https://en.cppreference.com/w/cpp/numeric/random/exponential_distribution.html

We can see why the numbers generated are smaller on average with a larger λ by plotting it for different values of λ:

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Craig White