vSMC
vSMC: Scalable Monte Carlo
|
Uniform bits distribution. More...
#include <vsmc/rng/internal/common.hpp>
Classes | |
class | param_type |
Public Types | |
using | distribution_type = UniformBitsDistribution< UIntType > |
using | result_type = UIntType |
Public Member Functions | |
UniformBitsDistribution () | |
UniformBitsDistribution (const param_type &) | |
result_type | max () const |
result_type | min () const |
template<typename RNGType > | |
result_type | operator() (RNGType &rng) |
template<typename RNGType > | |
result_type | operator() (RNGType &rng, const param_type &) |
template<typename RNGType > | |
void | operator() (RNGType &rng, std::size_t n, result_type *r) |
template<typename RNGType > | |
void | operator() (RNGType &rng, std::size_t n, result_type *r, const param_type &) |
void | reset () |
Friends | |
bool | operator!= (const UniformBitsDistribution< UIntType > &, const UniformBitsDistribution< UIntType > &) |
template<typename CharT , typename Traits > | |
std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const UniformBitsDistribution< UIntType > &) |
bool | operator== (const UniformBitsDistribution< UIntType > &, const UniformBitsDistribution< UIntType > &) |
template<typename CharT , typename Traits > | |
std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, UniformBitsDistribution< UIntType > &) |
Uniform bits distribution.
Definition at line 461 of file common.hpp.
using vsmc::UniformBitsDistribution< UIntType >::distribution_type = UniformBitsDistribution<UIntType> |
Definition at line 106 of file uniform_bits_distribution.hpp.
using vsmc::UniformBitsDistribution< UIntType >::result_type = UIntType |
Definition at line 105 of file uniform_bits_distribution.hpp.
|
inline |
Definition at line 139 of file uniform_bits_distribution.hpp.
|
inlineexplicit |
Definition at line 140 of file uniform_bits_distribution.hpp.
|
inline |
Definition at line 147 of file uniform_bits_distribution.hpp.
|
inline |
Definition at line 142 of file uniform_bits_distribution.hpp.
|
inline |
Definition at line 155 of file uniform_bits_distribution.hpp.
|
inline |
Definition at line 162 of file uniform_bits_distribution.hpp.
|
inline |
Definition at line 168 of file uniform_bits_distribution.hpp.
|
inline |
Definition at line 174 of file uniform_bits_distribution.hpp.
|
inline |
Definition at line 152 of file uniform_bits_distribution.hpp.
|
friend |
Definition at line 186 of file uniform_bits_distribution.hpp.
|
friend |
Definition at line 193 of file uniform_bits_distribution.hpp.
|
friend |
Definition at line 180 of file uniform_bits_distribution.hpp.
|
friend |
Definition at line 201 of file uniform_bits_distribution.hpp.