MCKL
Monte Carlo Kernel Library
Classes | Namespaces | Functions
uniform_bits_distribution.hpp File Reference
#include <mckl/random/internal/common.hpp>

Go to the source code of this file.

Classes

class  mckl::UniformBitsDistribution< UIntType >
 Uniform bits distribution. More...
 
class  mckl::UniformBitsDistribution< UIntType >::param_type
 

Namespaces

 mckl
 
 mckl::internal
 

Functions

template<typename UIntType , typename RNGType >
void mckl::rand (RNGType &rng, UniformBitsDistribution< UIntType > &distribution, std::size_t N, UIntType *r)
 
template<typename UIntType , typename RNGType >
void mckl::uniform_bits_distribution (RNGType &rng, std::size_t n, UIntType *r)
 
template<typename UIntType , typename RNGType >
void mckl::uniform_bits_distribution (RNGType &rng, std::size_t n, UIntType *r, const typename UniformBitsDistribution< UIntType >::param_type &)
 
template<typename UIntType , typename RNGType >
void mckl::internal::uniform_bits_distribution_impl (RNGType &rng, std::size_t n, UIntType *r, std::false_type, std::false_type)
 
template<typename UIntType , typename RNGType , bool DownCast>
void mckl::internal::uniform_bits_distribution_impl (RNGType &rng, std::size_t n, UIntType *r, std::true_type, std::integral_constant< bool, DownCast >)
 
template<typename UIntType , typename RNGType >
void mckl::internal::uniform_bits_distribution_impl (RNGType &rng, std::size_t n, UIntType *r, std::false_type, std::true_type)