RandomLib  1.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Classes | Typedefs
RandomLib Namespace Reference

Namespace for RandomLib. More...

Classes

class  DiscreteNormal
 The discrete normal distribution. More...
 
class  DiscreteNormalAlt
 The discrete normal distribution (alternate version). More...
 
class  ExactExponential
 Sample exactly from an exponential distribution. More...
 
class  ExactNormal
 Sample exactly from a normal distribution. More...
 
class  ExactPower
 Sample exactly from a power distribution. More...
 
class  ExponentialDistribution
 The exponential distribution. More...
 
class  ExponentialProb
 The exponential probability. More...
 
class  InverseEProb
 Return true with probability 1/e = exp(−1). More...
 
class  InversePiProb
 Return true with probability 1/π. More...
 
class  LeadingZeros
 Count of leading zeros. More...
 
class  MPFRExponential
 The exponential distribution for MPFR. More...
 
class  MPFRExponentialL
 The exponential distribution for MPFR (the log method). More...
 
class  MPFRNormal
 The normal distribution for MPFR. More...
 
class  MPFRNormalK
 The normal distribution for MPFR (Kahn algorithm). More...
 
class  MPFRNormalR
 The normal distribution for MPFR (ratio method). More...
 
class  MPFRRandom
 Handling random numbers in MPFR. More...
 
class  MPFRUniform
 The uniform distribution for MPFR. More...
 
class  NormalDistribution
 Normal deviates. More...
 
class  RandomErr
 Exception handling for RandomLib. More...
 
class  MT19937
 The MT19937 random number engine. More...
 
class  SFMT19937
 The SFMT random number engine. More...
 
class  RandomCanonical
 Generate random integers, reals, and booleans. More...
 
class  RandomEngine
 Uniform random number generator. More...
 
class  MixerMT0
 The original MT19937 mixing functionality. More...
 
class  MixerMT1
 The modified MT19937 mixing functionality. More...
 
class  MixerSFMT
 The SFMT mixing functionality. More...
 
class  RandomNumber
 Infinite precision random numbers. More...
 
class  RandomPower2
 Return or multiply by powers of 2. More...
 
class  RandomSeed
 A base class for random generators. More...
 
class  RandomSelect
 Random selection from a discrete set. More...
 
class  RandomType
 Class to hold bit-width and unsigned type. More...
 
class  UniformInteger
 The partial uniform integer distribution. More...
 

Typedefs

typedef RANDOMLIB_DEFAULT_GENERATOR RandomGenerator
 
typedef RandomCanonical
< RandomGenerator
Random
 
typedef RandomCanonical
< MRandomGenerator32
MRandom32
 
typedef RandomCanonical
< MRandomGenerator64
MRandom64
 
typedef RandomCanonical
< SRandomGenerator32
SRandom32
 
typedef RandomCanonical
< SRandomGenerator64
SRandom64
 
typedef RandomEngine< MT19937
< Random_u32 >, MixerSFMT
MRandomGenerator32
 
typedef RandomEngine< MT19937
< Random_u64 >, MixerSFMT
MRandomGenerator64
 
typedef RandomEngine
< SFMT19937< Random_u32 >
, MixerSFMT
SRandomGenerator32
 
typedef RandomEngine
< SFMT19937< Random_u64 >
, MixerSFMT
SRandomGenerator64
 
typedef RandomType< 32, uint32_t > Random_u32
 
typedef RandomType< 64, uint64_t > Random_u64
 
typedef unsigned long bitset_uint_t
 

Detailed Description

Namespace for RandomLib.

All of RandomLib is defined within the RandomLib namespace. In addtiion all the header files are included via RandomLib/filename. This minimizes the likelihood of conflicts with other packages.

Typedef Documentation

Point Random to one of a specific MT19937 generators.

Definition at line 130 of file Random.hpp.

Hook Random to RandomGenerator

Definition at line 135 of file Random.hpp.

Hook XRandomNN to XRandomGeneratorNN

Definition at line 1277 of file RandomCanonical.hpp.

Definition at line 1278 of file RandomCanonical.hpp.

Definition at line 1279 of file RandomCanonical.hpp.

Definition at line 1280 of file RandomCanonical.hpp.

Definition at line 616 of file RandomEngine.hpp.

Definition at line 617 of file RandomEngine.hpp.

Definition at line 618 of file RandomEngine.hpp.

Definition at line 619 of file RandomEngine.hpp.

typedef RandomType<32, uint32_t> RandomLib::Random_u32

The standard unit for 32-bit quantities

Definition at line 99 of file RandomType.hpp.

typedef RandomType<64, uint64_t> RandomLib::Random_u64

The standard unit for 64-bit quantities

Definition at line 103 of file RandomType.hpp.

typedef unsigned long RandomLib::bitset_uint_t

The integer type of constructing bitsets. This used to be unsigned long. C++11 has made this unsigned long long.

Definition at line 112 of file RandomType.hpp.