#include <Random123/conventional/Engine.hpp>
List of all members.
Detailed Description
template<typename CBRNG>
struct r123::Engine< CBRNG >
If G satisfies the requirements of a CBRNG, and has a ctr_type whose value_type is an unsigned integral type, then Engine<G> satisfies the requirements of a C++0x "Uniform Random Number Engine" and can be used in any context where such an object is expected.
Note that wrapping a counter based RNG with a traditional API in this way obscures much of the power of counter based PRNGs. Nevertheless, it may be of value in applications that are already coded to work with the C++0x random number engines.
The MicroURNG template in MicroURNG.hpp provides the more limited functionality of a C++0x "Uniform
Random Number Generator", but leaves the application in control of counters and keys and hence may be preferable to the Engine template. For example, a MicroURNG allows one to use C++0x "Random Number
Distributions" without giving up control over the counters and keys.
Member Typedef Documentation
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
Constructor & Destructor Documentation
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename SeedSeq >
template<typename CBRNG >
template<typename CBRNG >
Member Function Documentation
template<typename CBRNG >
void r123::Engine< CBRNG >::discard |
( |
uint64_t |
skip |
) |
[inline] |
template<typename CBRNG >
void r123::Engine< CBRNG >::fix_invariant |
( |
|
) |
[inline, protected] |
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename SeedSeq >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
Friends And Related Function Documentation
template<typename CBRNG >
bool operator!= |
( |
const Engine< CBRNG > & |
lhs, |
|
|
const Engine< CBRNG > & |
rhs | |
|
) |
| | [friend] |
template<typename CBRNG >
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Engine< CBRNG > & |
be | |
|
) |
| | [friend] |
template<typename CBRNG >
bool operator== |
( |
const Engine< CBRNG > & |
lhs, |
|
|
const Engine< CBRNG > & |
rhs | |
|
) |
| | [friend] |
template<typename CBRNG >
std::istream& operator>> |
( |
std::istream & |
is, |
|
|
Engine< CBRNG > & |
be | |
|
) |
| | [friend] |
Member Data Documentation
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
template<typename CBRNG >
The documentation for this struct was generated from the following file: