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

Scalar RNG set. More...

#include <mckl/random/rng_set.hpp>

Public Types

using rng_type = RNGType
 
using size_type = std::size_t
 

Public Member Functions

 RNGSetScalar (size_type=0)
 
rng_typeoperator[] (size_type)
 
void reset ()
 
void resize (std::size_t)
 
size_type size () const
 

Detailed Description

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

Scalar RNG set.

Definition at line 58 of file rng_set.hpp.

Member Typedef Documentation

◆ rng_type

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

Definition at line 61 of file rng_set.hpp.

◆ size_type

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

Definition at line 62 of file rng_set.hpp.

Constructor & Destructor Documentation

◆ RNGSetScalar()

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

Definition at line 64 of file rng_set.hpp.

Member Function Documentation

◆ operator[]()

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

Definition at line 72 of file rng_set.hpp.

◆ reset()

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

Definition at line 70 of file rng_set.hpp.

◆ resize()

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

Definition at line 68 of file rng_set.hpp.

◆ size()

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

Definition at line 66 of file rng_set.hpp.