The normal distribution for MPFR (ratio method).
This class is DEPRECATED. It is included for illustrative purposes only. The MPFRNormal class provides a much more efficient method for sampling from the normal distribution.
This is an adaption of NormalDistribution 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 a mutable private object. So a single MPFRNormalR object cannot safely be used by multiple threads. In a multi-processing environment, each thread should use a thread-specific MPFRNormalR object.
Definition at line 43 of file MPFRNormalR.hpp.