vSMC
vSMC: Scalable Monte Carlo
vsmc::RNGBits< RNGType > Class Template Reference

The value of RNGMaxBits<RNGType>::value - RNGMinBits<RNGType>::value. More...

#include <vsmc/rng/internal/common.hpp>

Detailed Description

template<typename RNGType>
class vsmc::RNGBits< RNGType >

The value of RNGMaxBits<RNGType>::value - RNGMinBits<RNGType>::value.

Let R = RNGMinBits<RNGType>::value. Let P = RNGMaxBits<RNGType>::vaue - RNGMinBits<RNGType>::value Then given u is the unsigned random integer generated by RNGType, (u >> R) is an unsigned random integer covering at least \(\{0,\dots,2^P - 1\}\).

Definition at line 508 of file common.hpp.