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

Vector RNG set. More...

#include <vsmc/rng/rng_set.hpp>

Public Types

using rng_type = RNGType
 
using size_type = typename Vector< rng_type >::size_type
 

Public Member Functions

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

Detailed Description

template<typename RNGType = RNGMini>
class vsmc::RNGSetVector< RNGType >

Vector RNG set.

Definition at line 85 of file rng_set.hpp.

Member Typedef Documentation

template<typename RNGType = RNGMini>
using vsmc::RNGSetVector< RNGType >::rng_type = RNGType

Definition at line 88 of file rng_set.hpp.

template<typename RNGType = RNGMini>
using vsmc::RNGSetVector< RNGType >::size_type = typename Vector<rng_type>::size_type

Definition at line 89 of file rng_set.hpp.

Constructor & Destructor Documentation

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

Definition at line 91 of file rng_set.hpp.

Member Function Documentation

template<typename RNGType = RNGMini>
rng_type& vsmc::RNGSetVector< RNGType >::operator[] ( size_type  id)
inline

Definition at line 110 of file rng_set.hpp.

template<typename RNGType = RNGMini>
void vsmc::RNGSetVector< RNGType >::resize ( std::size_t  n)
inline

Definition at line 95 of file rng_set.hpp.

template<typename RNGType = RNGMini>
void vsmc::RNGSetVector< RNGType >::seed ( )
inline

Definition at line 108 of file rng_set.hpp.

template<typename RNGType = RNGMini>
size_type vsmc::RNGSetVector< RNGType >::size ( ) const
inline

Definition at line 93 of file rng_set.hpp.