vSMC
vSMC: 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 AlignedVector< 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>
class vsmc::RNGSetVector< RNGType >

Vector RNG set.

Definition at line 78 of file rng_set.hpp.

Member Typedef Documentation

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

Definition at line 81 of file rng_set.hpp.

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

Definition at line 82 of file rng_set.hpp.

Constructor & Destructor Documentation

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

Definition at line 84 of file rng_set.hpp.

Member Function Documentation

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

Definition at line 113 of file rng_set.hpp.

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

Definition at line 91 of file rng_set.hpp.

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

Definition at line 107 of file rng_set.hpp.

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

Definition at line 89 of file rng_set.hpp.