vSMC  v3.0.0
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 = RNG>
class vsmc::RNGSetTBB< RNGType >

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

Definition at line 121 of file rng_set.hpp.

Member Typedef Documentation

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

Definition at line 124 of file rng_set.hpp.

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

Definition at line 125 of file rng_set.hpp.

Constructor & Destructor Documentation

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

Definition at line 127 of file rng_set.hpp.

Member Function Documentation

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

Definition at line 143 of file rng_set.hpp.

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

Definition at line 139 of file rng_set.hpp.

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

Definition at line 141 of file rng_set.hpp.

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

Definition at line 137 of file rng_set.hpp.