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

Scalar RNG set. More...

#include <vsmc/rng/rng_set.hpp>

Public Types

using rng_type = RNGType
 
using size_type = std::size_t
 

Public Member Functions

 RNGSetScalar (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::RNGSetScalar< RNGType >

Scalar RNG set.

Definition at line 58 of file rng_set.hpp.

Member Typedef Documentation

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

Definition at line 61 of file rng_set.hpp.

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

Definition at line 62 of file rng_set.hpp.

Constructor & Destructor Documentation

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

Definition at line 64 of file rng_set.hpp.

Member Function Documentation

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

Definition at line 72 of file rng_set.hpp.

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

Definition at line 68 of file rng_set.hpp.

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

Definition at line 70 of file rng_set.hpp.

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

Definition at line 66 of file rng_set.hpp.