vSMC
vSMC: Scalable Monte Carlo
|
Generate uniform bits of given type. More...
#include <vsmc/rng/uniform_bits_distribution.hpp>
Static Public Member Functions | |
template<typename RNGType > | |
static UIntType | eval (RNGType &rng) |
Generate uniform bits of given type.
For a given unsigned integer type UIntType
with \(W\) bits, the output will be unsigned integers on the set \(\{0,\dots,2^W - 1\}\) regardless of the range of the input RNGType
Definition at line 48 of file uniform_bits_distribution.hpp.
|
inlinestatic |
Definition at line 56 of file uniform_bits_distribution.hpp.