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

Header for MPFRExponentialL. More...

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

Go to the source code of this file.

Classes

class  RandomLib::MPFRExponentialL
 The exponential distribution for MPFR (the log method). More...
 

Namespaces

 RandomLib
 Namespace for RandomLib.
 

Macros

#define HAVE_MPFR   (MPFR_VERSION_MAJOR >= 3)
 

Detailed Description

Header for MPFRExponentialL.

Sampling exactly from the exponential distribution for MPFR using the traditional 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 MPFRExponentialL.hpp.

Macro Definition Documentation

#define HAVE_MPFR   (MPFR_VERSION_MAJOR >= 3)

Definition at line 19 of file MPFRExponentialL.hpp.