vSMC
vSMC: Scalable Monte Carlo
Public Types | Public Member Functions | List of all members
vsmc::RNGSetTBB< RNGType > Class Template Reference

Thread-local storage RNG set using tbb::combinable. More...

#include <vsmc/rng/rng_set.hpp>

Public Types

using rng_type = RNGType
 
using size_type = std::size_t
 

Public Member Functions

 RNGSetTBB (size_type N=0)
 
rng_typeoperator[] (size_type)
 
void resize (std::size_t)
 
void seed ()
 
size_type size () const
 

Detailed Description

template<typename RNGType>
class vsmc::RNGSetTBB< RNGType >

Thread-local storage RNG set using tbb::combinable.

Definition at line 129 of file rng_set.hpp.

Member Typedef Documentation

template<typename RNGType >
using vsmc::RNGSetTBB< RNGType >::rng_type = RNGType

Definition at line 132 of file rng_set.hpp.

template<typename RNGType >
using vsmc::RNGSetTBB< RNGType >::size_type = std::size_t

Definition at line 133 of file rng_set.hpp.

Constructor & Destructor Documentation

template<typename RNGType >
vsmc::RNGSetTBB< RNGType >::RNGSetTBB ( size_type  N = 0)
inlineexplicit

Definition at line 135 of file rng_set.hpp.

Member Function Documentation

template<typename RNGType >
rng_type& vsmc::RNGSetTBB< RNGType >::operator[] ( size_type  )
inline

Definition at line 151 of file rng_set.hpp.

template<typename RNGType >
void vsmc::RNGSetTBB< RNGType >::resize ( std::size_t  )
inline

Definition at line 147 of file rng_set.hpp.

template<typename RNGType >
void vsmc::RNGSetTBB< RNGType >::seed ( )
inline

Definition at line 149 of file rng_set.hpp.

template<typename RNGType >
size_type vsmc::RNGSetTBB< RNGType >::size ( ) const
inline

Definition at line 145 of file rng_set.hpp.