hops
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
pcg_detail::specific_stream< itype > Class Template Reference

#include <pcg_random.hpp>

Collaboration diagram for pcg_detail::specific_stream< itype >:
Collaboration graph

Public Types

typedef itype state_type
 
typedef itype stream_state
 

Public Member Functions

constexpr itype increment () const
 
itype stream ()
 
void set_stream (itype specific_seq)
 

Static Public Member Functions

static constexpr size_t streams_pow2 ()
 

Static Public Attributes

static constexpr bool can_specify_stream = true
 

Protected Member Functions

 specific_stream ()=default
 
 specific_stream (itype specific_seq)
 

Protected Attributes

itype inc_ = default_increment<itype>::increment()
 

Static Protected Attributes

static constexpr bool is_mcg = false
 

Member Typedef Documentation

◆ state_type

template<typename itype >
typedef itype pcg_detail::specific_stream< itype >::state_type

◆ stream_state

template<typename itype >
typedef itype pcg_detail::specific_stream< itype >::stream_state

Constructor & Destructor Documentation

◆ specific_stream() [1/2]

template<typename itype >
pcg_detail::specific_stream< itype >::specific_stream ( )
protecteddefault

◆ specific_stream() [2/2]

template<typename itype >
pcg_detail::specific_stream< itype >::specific_stream ( itype  specific_seq)
inlineprotected

Member Function Documentation

◆ increment()

template<typename itype >
constexpr itype pcg_detail::specific_stream< itype >::increment ( ) const
inlineconstexpr

◆ set_stream()

template<typename itype >
void pcg_detail::specific_stream< itype >::set_stream ( itype  specific_seq)
inline

◆ stream()

template<typename itype >
itype pcg_detail::specific_stream< itype >::stream ( )
inline

◆ streams_pow2()

template<typename itype >
static constexpr size_t pcg_detail::specific_stream< itype >::streams_pow2 ( )
inlinestaticconstexpr

Member Data Documentation

◆ can_specify_stream

template<typename itype >
constexpr bool pcg_detail::specific_stream< itype >::can_specify_stream = true
staticconstexpr

◆ inc_

template<typename itype >
itype pcg_detail::specific_stream< itype >::inc_ = default_increment<itype>::increment()
protected

◆ is_mcg

template<typename itype >
constexpr bool pcg_detail::specific_stream< itype >::is_mcg = false
staticconstexprprotected

The documentation for this class was generated from the following file: