MCKL
Monte Carlo Kernel Library
Public Types | Public Member Functions | List of all members
mckl::RNGSetVector< RNGType > Class Template Reference

Vector RNG set. More...

#include <mckl/random/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 reset ()
 
void resize (std::size_t n)
 
size_type size () const
 

Detailed Description

template<typename RNGType = RNG>
class mckl::RNGSetVector< RNGType >

Vector RNG set.

Definition at line 82 of file rng_set.hpp.

Member Typedef Documentation

◆ rng_type

template<typename RNGType = RNG>
using mckl::RNGSetVector< RNGType >::rng_type = RNGType

Definition at line 85 of file rng_set.hpp.

◆ size_type

template<typename RNGType = RNG>
using mckl::RNGSetVector< RNGType >::size_type = typename Vector<rng_type>::size_type

Definition at line 86 of file rng_set.hpp.

Constructor & Destructor Documentation

◆ RNGSetVector()

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

Definition at line 88 of file rng_set.hpp.

Member Function Documentation

◆ operator[]()

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

Definition at line 116 of file rng_set.hpp.

◆ reset()

template<typename RNGType = RNG>
void mckl::RNGSetVector< RNGType >::reset ( )
inline

Definition at line 109 of file rng_set.hpp.

◆ resize()

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

Definition at line 92 of file rng_set.hpp.

◆ size()

template<typename RNGType = RNG>
size_type mckl::RNGSetVector< RNGType >::size ( ) const
inline

Definition at line 90 of file rng_set.hpp.