vSMC
vSMC: Scalable Monte Carlo
vsmc::traits::PhiloxWeylConstantTrait< ResultType, I > Struct Template Reference

Traits of PhiloxEngine constants for bumping the key (Weyl sequence) More...

#include <vsmc/rng/philox.hpp>

Detailed Description

template<typename ResultType, std::size_t I>
struct vsmc::traits::PhiloxWeylConstantTrait< ResultType, I >

Traits of PhiloxEngine constants for bumping the key (Weyl sequence)

The first template argument is either uint32_t or uint64_t. The second is either 0 or 1. Specializing the class templates PhiloxWeylConstantTrait<uint64_t, 0> etc., are equivalent to define macros PHILOX_W64_0 etc., in the original implementation.

Definition at line 117 of file philox.hpp.