Developer documentation
Version 3.0.3-105-gd3941f44
MR::Math::RNG::Integer< ValueType > Class Template Reference

#include "math/rng.h"

Public Member Functions

 Integer (const ValueType max)
 
ValueType operator() ()
 

Public Attributes

RNG rng
 
std::uniform_int_distribution< ValueType > dist
 

Detailed Description

template<typename ValueType>
class MR::Math::RNG::Integer< ValueType >

Definition at line 111 of file rng.h.

Constructor & Destructor Documentation

◆ Integer()

template<typename ValueType >
MR::Math::RNG::Integer< ValueType >::Integer ( const ValueType  max)
inline

Definition at line 113 of file rng.h.

Member Function Documentation

◆ operator()()

template<typename ValueType >
ValueType MR::Math::RNG::Integer< ValueType >::operator() ( )
inline

Definition at line 117 of file rng.h.

Member Data Documentation

◆ dist

template<typename ValueType >
std::uniform_int_distribution<ValueType> MR::Math::RNG::Integer< ValueType >::dist

Definition at line 116 of file rng.h.

◆ rng

template<typename ValueType >
RNG MR::Math::RNG::Integer< ValueType >::rng

Definition at line 115 of file rng.h.


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