template<int bits = 32>
class RandomLib::MPFRExponential< bits >
The exponential distribution for MPFR.
This is a transcription of ExactExponential (version 1.4) for use with MPFR.
This class uses mutable private objects. So a single MPFRExponential object cannot safely be used by multiple threads. In a multi-processing environment, each thread should use a thread-specific MPFRExponential object.
- Template Parameters
|bits||the number of bits in each digit. |
Definition at line 34 of file MPFRExponential.hpp.