32 #ifndef VSMC_RNG_RNG_SET_HPP 33 #define VSMC_RNG_RNG_SET_HPP 44 #ifndef VSMC_RNG_SET_TYPE 45 #define VSMC_RNG_SET_TYPE ::vsmc::RNGSetVector<::vsmc::RNG> 53 template <
typename RNGType>
77 template <
typename RNGType>
101 for (std::size_t i = rng_.size(); i != n; ++i) {
109 for (
auto &rng : rng_)
128 #endif // VSMC_RNG_RNG_SET_HPP
#define VSMC_DEFINE_TYPE_DISPATCH_TRAIT(Outer, Inner, Default)
static SeedGenerator< ID, ResultType > & instance()
std::vector< T, AlignedAllocator< T >> AlignedVector
Vector type using AlignedAllocator.
typename RNGSetTypeTrait< T >::type RNGSetType
RNGSetVector(size_type N=0)
typename AlignedVector< rng_type >::size_type size_type
rng_type & operator[](size_type id)
#define VSMC_RNG_SET_TYPE
Default RNG set type.
rng_type & operator[](size_type)
RNGSetScalar(size_type N=0)
void resize(std::size_t n)