RandomLib  1.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Classes | Namespaces | Macros
MPFRNormalR.hpp File Reference

Header for MPFRNormalR. More...

#include <algorithm>
#include <cmath>
#include <mpfr.h>

Go to the source code of this file.

Classes

class  RandomLib::MPFRNormalR
 The normal distribution for MPFR (ratio method). More...
 

Namespaces

 RandomLib
 Namespace for RandomLib.
 

Macros

#define HAVE_MPFR   (MPFR_VERSION_MAJOR >= 3)
 

Detailed Description

Header for MPFRNormalR.

Sampling exactly from the normal distribution for MPFR using the ratio method.

Copyright (c) Charles Karney (2012) charl.nosp@m.es@k.nosp@m.arney.nosp@m..com and licensed under the MIT/X11 License. For more information, see http://randomlib.sourceforge.net/

Definition in file MPFRNormalR.hpp.

Macro Definition Documentation

#define HAVE_MPFR   (MPFR_VERSION_MAJOR >= 3)

Definition at line 20 of file MPFRNormalR.hpp.