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 82 of file rng_set.hpp.

Member Typedef Documentation

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

Definition at line 85 of file rng_set.hpp.

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

Definition at line 86 of file rng_set.hpp.

Constructor & Destructor Documentation

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

Definition at line 88 of file rng_set.hpp.

Member Function Documentation

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

Definition at line 117 of file rng_set.hpp.

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

Definition at line 95 of file rng_set.hpp.

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

Definition at line 111 of file rng_set.hpp.

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

Definition at line 93 of file rng_set.hpp.