#include <RandomGenerators.hpp>
Public Member Functions | |
ApproxMVBB_STATIC_ASSERT (std::is_unsigned< T >::value) AlmostUniformUIntDistribution(T min | |
T | m_max (max) |
template<typename G > | |
T | operator() (G &g) |
Public Attributes | |
T | max: m_min(min) |
Private Attributes | |
T | m_max |
T | m_min |
T | m_nRange |
A fast portable, non-truly uniform integer distribution
Definition at line 128 of file RandomGenerators.hpp.
ApproxMVBB::RandomGenerators::AlmostUniformUIntDistribution< T >::ApproxMVBB_STATIC_ASSERT | ( | std::is_unsigned< T >::value | ) |
|
inline |
Definition at line 132 of file RandomGenerators.hpp.
|
inline |
Definition at line 137 of file RandomGenerators.hpp.
|
private |
Definition at line 142 of file RandomGenerators.hpp.
|
private |
Definition at line 142 of file RandomGenerators.hpp.
|
private |
Definition at line 142 of file RandomGenerators.hpp.
T ApproxMVBB::RandomGenerators::AlmostUniformUIntDistribution< T >::max |
Definition at line 132 of file RandomGenerators.hpp.