You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Samples floating-point numbers according to the exponential distribution, with rate parameter λ = 1. This is equivalent to Exp::new(1.0) or sampling with -rng.gen::<f64>().ln(), but faster.
The text was updated successfully, but these errors were encountered:
So the doc is wrong (likely depending on optimisations), but as I mentioned in the benchmark PR, there may still be reason to use this: saving space in a derived distribution.
Running the corresponding benchmarks from #1063, I get the following results:
This contradicts our documentation:
The text was updated successfully, but these errors were encountered: