#include <random.hpp>
|
| BOOST_STATIC_CONSTANT (int, word_size=w) |
|
| BOOST_STATIC_CONSTANT (int, state_size=n) |
|
| BOOST_STATIC_CONSTANT (int, shift_size=m) |
|
| BOOST_STATIC_CONSTANT (int, mask_bits=r) |
|
| BOOST_STATIC_CONSTANT (UIntType, parameter_a=a) |
|
| BOOST_STATIC_CONSTANT (int, output_u=u) |
|
| BOOST_STATIC_CONSTANT (int, output_s=s) |
|
| BOOST_STATIC_CONSTANT (UIntType, output_b=b) |
|
| BOOST_STATIC_CONSTANT (int, output_t=t) |
|
| BOOST_STATIC_CONSTANT (UIntType, output_c=c) |
|
| BOOST_STATIC_CONSTANT (int, output_l=l) |
|
| mersenne_twister () |
|
| mersenne_twister (unsigned long value) |
|
template<class Gen > |
| mersenne_twister (Gen &g) |
|
void | seed () |
|
void | seed (unsigned long value) |
|
template<class Gen > |
void | seed (Gen &g) |
|
result_type min | BOOST_PREVENT_MACRO_SUBSTITUTION () const |
|
result_type max | BOOST_PREVENT_MACRO_SUBSTITUTION () const |
|
result_type | operator() () |
|
bool | operator== (const mersenne_twister &that) const |
|
bool | operator!= (const mersenne_twister &that) const |
|
|
template<class CharT , class Traits > |
std::basic_ostream< CharT,
Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const mersenne_twister &lcg) |
|
template<class CharT , class Traits > |
std::basic_istream< CharT,
Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, mersenne_twister &lcg) |
|
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
typedef UIntType std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::result_type |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::mersenne_twister |
( |
| ) |
|
|
inline |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::mersenne_twister |
( |
unsigned long |
value | ) |
|
|
inlineexplicit |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
template<class Gen >
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::mersenne_twister |
( |
Gen & |
g | ) |
|
|
inline |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
result_type min std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_PREVENT_MACRO_SUBSTITUTION |
( |
| ) |
const |
|
inline |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
result_type max std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_PREVENT_MACRO_SUBSTITUTION |
( |
| ) |
const |
|
inline |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_STATIC_CONSTANT |
( |
int |
, |
|
|
word_size |
= w |
|
) |
| |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_STATIC_CONSTANT |
( |
int |
, |
|
|
state_size |
= n |
|
) |
| |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_STATIC_CONSTANT |
( |
int |
, |
|
|
shift_size |
= m |
|
) |
| |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_STATIC_CONSTANT |
( |
int |
, |
|
|
mask_bits |
= r |
|
) |
| |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_STATIC_CONSTANT |
( |
UIntType |
, |
|
|
parameter_a |
= a |
|
) |
| |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_STATIC_CONSTANT |
( |
int |
, |
|
|
output_u |
= u |
|
) |
| |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_STATIC_CONSTANT |
( |
int |
, |
|
|
output_s |
= s |
|
) |
| |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_STATIC_CONSTANT |
( |
UIntType |
, |
|
|
output_b |
= b |
|
) |
| |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_STATIC_CONSTANT |
( |
int |
, |
|
|
output_t |
= t |
|
) |
| |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_STATIC_CONSTANT |
( |
UIntType |
, |
|
|
output_c |
= c |
|
) |
| |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::BOOST_STATIC_CONSTANT |
( |
int |
, |
|
|
output_l |
= l |
|
) |
| |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
bool std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::operator!= |
( |
const mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l > & |
that | ) |
const |
|
inline |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
result_type std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::operator() |
( |
| ) |
|
|
inline |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
bool std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::operator== |
( |
const mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l > & |
that | ) |
const |
|
inline |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
void std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::seed |
( |
| ) |
|
|
inline |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
void std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::seed |
( |
unsigned long |
value | ) |
|
|
inline |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
template<class Gen >
void std::tr1::mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l >::seed |
( |
Gen & |
g | ) |
|
|
inline |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
template<class CharT , class Traits >
std::basic_ostream<CharT,Traits>& operator<< |
( |
std::basic_ostream< CharT, Traits > & |
os, |
|
|
const mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l > & |
lcg |
|
) |
| |
|
friend |
template<class UIntType , int w, int n, int m, int r, UIntType a, int u, int s, UIntType b, int t, UIntType c, int l>
template<class CharT , class Traits >
std::basic_istream<CharT,Traits>& operator>> |
( |
std::basic_istream< CharT, Traits > & |
is, |
|
|
mersenne_twister< UIntType, w, n, m, r, a, u, s, b, t, c, l > & |
lcg |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: