|
vSMC
vSMC: Scalable Monte Carlo
|
Combine two RNG engines using XOR. More...
#include <vsmc/rng/xor_combine_engine.hpp>
Public Types | |
| typedef Eng1 | engine1_type |
| typedef Eng2 | engine2_type |
| typedef Eng1::result_type | result_type |
Public Member Functions | |
| XorCombineEngine (result_type s=1) | |
| template<typename SeedSeq > | |
| XorCombineEngine (SeedSeq &seq, typename cxx11::enable_if< internal::is_seed_seq< SeedSeq, result_type, XorCombineEngine< Eng1, Eng2, S1, S2 > >::value >::type *=nullptr) | |
| void | discard (std::size_t nskip) |
| engine1_type & | eng1 () |
| engine2_type & | eng2 () |
| result_type | operator() () |
| void | seed (result_type s) |
| template<typename SeedSeq > | |
| void | seed (SeedSeq &seq, typename cxx11::enable_if< internal::is_seed_seq< SeedSeq, result_type, XorCombineEngine< Eng1, Eng2, S1, S2 > >::value >::type *=nullptr) |
Static Public Member Functions | |
| static constexpr result_type | max () |
| static constexpr result_type | min () |
Friends | |
| bool | operator!= (const XorCombineEngine< Eng1, Eng2, S1, S2 > &eng1, const XorCombineEngine< Eng1, Eng2, S1, S2 > &eng2) |
| template<typename CharT , typename Traits > | |
| std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const XorCombineEngine< Eng1, Eng2, S1, S2 > &eng) |
| bool | operator== (const XorCombineEngine< Eng1, Eng2, S1, S2 > &eng1, const XorCombineEngine< Eng1, Eng2, S1, S2 > &eng2) |
| template<typename CharT , typename Traits > | |
| std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, XorCombineEngine< Eng1, Eng2, S1, S2 > &eng) |
Combine two RNG engines using XOR.
Definition at line 57 of file xor_combine_engine.hpp.
| typedef Eng1 vsmc::XorCombineEngine< Eng1, Eng2, S1, S2 >::engine1_type |
Definition at line 62 of file xor_combine_engine.hpp.
| typedef Eng2 vsmc::XorCombineEngine< Eng1, Eng2, S1, S2 >::engine2_type |
Definition at line 63 of file xor_combine_engine.hpp.
| typedef Eng1::result_type vsmc::XorCombineEngine< Eng1, Eng2, S1, S2 >::result_type |
Definition at line 61 of file xor_combine_engine.hpp.
|
inlineexplicit |
Definition at line 65 of file xor_combine_engine.hpp.
|
inlineexplicit |
Definition at line 69 of file xor_combine_engine.hpp.
|
inline |
Definition at line 109 of file xor_combine_engine.hpp.
|
inline |
Definition at line 91 of file xor_combine_engine.hpp.
|
inline |
Definition at line 93 of file xor_combine_engine.hpp.
|
inlinestatic |
Definition at line 101 of file xor_combine_engine.hpp.
|
inlinestatic |
Definition at line 95 of file xor_combine_engine.hpp.
|
inline |
Definition at line 107 of file xor_combine_engine.hpp.
|
inline |
Definition at line 75 of file xor_combine_engine.hpp.
|
inline |
Definition at line 82 of file xor_combine_engine.hpp.
|
friend |
Definition at line 120 of file xor_combine_engine.hpp.
|
friend |
Definition at line 126 of file xor_combine_engine.hpp.
|
friend |
Definition at line 115 of file xor_combine_engine.hpp.
|
friend |
Definition at line 139 of file xor_combine_engine.hpp.
1.8.9.1