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

Header for RandomCanonical. More...

#include <bitset>
#include <RandomLib/RandomPower2.hpp>
#include <RandomLib/RandomEngine.hpp>

Go to the source code of this file.

Classes

class  RandomLib::RandomCanonical< Generator >
 Generate random integers, reals, and booleans. More...
 

Namespaces

 RandomLib
 Namespace for RandomLib.
 
 std
 

Typedefs

typedef RandomCanonical
< MRandomGenerator32 > 
RandomLib::MRandom32
 
typedef RandomCanonical
< MRandomGenerator64 > 
RandomLib::MRandom64
 
typedef RandomCanonical
< SRandomGenerator32 > 
RandomLib::SRandom32
 
typedef RandomCanonical
< SRandomGenerator64 > 
RandomLib::SRandom64
 

Functions

template<class Generator >
void std::swap (RandomLib::RandomCanonical< Generator > &r, RandomLib::RandomCanonical< Generator > &s) throw ()
 

Detailed Description

Header for RandomCanonical.

Use the random bits from Generator to produce random integers of various sizes, random reals with various precisions, a random probability, etc.

Copyright (c) Charles Karney (2006-2011) 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 RandomCanonical.hpp.