The exponential distribution for MPFR (the log method).
This class is DEPRECATED. It is included for illustrative purposes only. The MPFRExponential class provides a much more efficient method for sampling from the exponential distribution.
This is an adaption of ExponentialDistribution to MPFR. The changes are
- Use MPFR's random number generator
- Use sufficient precision internally to ensure that a correctly rounded result is returned.
This class uses mutable private objects. So a single MPFRExponentialL object cannot safely be used by multiple threads. In a multi-processing environment, each thread should use a thread-specific MPFRExponentialL object.
Definition at line 42 of file MPFRExponentialL.hpp.