vSMC
vSMC: Scalable Monte Carlo
Classes | Namespaces | Macros
xor_combine_engine.hpp File Reference
#include <vsmc/rng/internal/common.hpp>

Go to the source code of this file.

Classes

class  vsmc::XorCombineEngine< Eng1, Eng2, S1, S2 >
 Combine two RNG engines using XOR. More...
 

Namespaces

 vsmc
 

Macros

#define VSMC_STATIC_ASSERT_RNG_XOR_COMBINE
 
#define VSMC_STATIC_ASSERT_RNG_XOR_COMBINE_SAME_TYPE(Eng1, Eng2)
 
#define VSMC_STATIC_ASSERT_RNG_XOR_COMBINE_UNSIGNED(result_type)
 

Macro Definition Documentation

#define VSMC_STATIC_ASSERT_RNG_XOR_COMBINE
Value:
#define VSMC_STATIC_ASSERT_RNG_XOR_COMBINE_SAME_TYPE(Eng1, Eng2)
#define VSMC_STATIC_ASSERT_RNG_XOR_COMBINE_UNSIGNED(result_type)

Definition at line 46 of file xor_combine_engine.hpp.

#define VSMC_STATIC_ASSERT_RNG_XOR_COMBINE_SAME_TYPE (   Eng1,
  Eng2 
)
Value:
VSMC_STATIC_ASSERT((cxx11::is_same<typename Eng1::resultType, \
typename Eng2::resultType>::value), \
USE_XorCombineEngine_WITH_TWO_RNG_ENGINES_WITH_DIFFERENT_RESULT_TYPE)
#define VSMC_STATIC_ASSERT(cond, msg)
Definition: assert.hpp:46

Definition at line 41 of file xor_combine_engine.hpp.

#define VSMC_STATIC_ASSERT_RNG_XOR_COMBINE_UNSIGNED (   result_type)
Value:
VSMC_STATIC_ASSERT((cxx11::is_unsigned<result_type>::value), \
USE_XorCombineEngine_WITH_ENGINES_HAVE_RESULT_TYPE_NOT_AN_UNSIGNED_INTEGER_TYPE)
#define VSMC_STATIC_ASSERT(cond, msg)
Definition: assert.hpp:46

Definition at line 37 of file xor_combine_engine.hpp.