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

Go to the source code of this file.

Classes

class  mckl::UniformIntDistribution< IntType >
 Uniform integer distribution. More...
 
class  mckl::UniformIntDistribution< IntType >::param_type
 

Namespaces

 mckl
 
 mckl::internal
 

Functions

template<typename IntType , typename RNGType >
void mckl::rand (RNGType &rng, UniformIntDistribution< IntType > &distribution, std::size_t N, IntType *r)
 
template<typename IntType , typename RNGType >
void mckl::uniform_int_distribution (RNGType &rng, std::size_t N, IntType *r, const typename UniformIntDistribution< IntType >::param_type &param)
 
template<typename IntType , typename RNGType >
void mckl::uniform_int_distribution (RNGType &rng, std::size_t N, IntType *r, IntType a, IntType b)
 
template<typename IntType >
bool mckl::internal::uniform_int_distribution_check_param (IntType a, IntType b)
 
template<std::size_t K, typename IntType , typename RNGType >
void mckl::internal::uniform_int_distribution_impl (RNGType &rng, std::size_t n, IntType *r, IntType a, IntType b, std::true_type)
 
template<std::size_t , typename IntType , typename RNGType >
void mckl::internal::uniform_int_distribution_impl (RNGType &rng, std::size_t n, IntType *r, IntType a, IntType b, std::false_type)
 
template<std::size_t K, typename IntType , typename RNGType >
void mckl::internal::uniform_int_distribution_impl (RNGType &rng, std::size_t n, IntType *r, IntType a, IntType b)
 
template<typename IntType >
bool mckl::internal::uniform_int_distribution_use_double (IntType, IntType, std::true_type)
 
template<typename IntType >
bool mckl::internal::uniform_int_distribution_use_double (IntType a, IntType b, std::false_type)
 
template<typename IntType >
bool mckl::internal::uniform_int_distribution_use_double (IntType a, IntType b)
 
template<typename IntType >
bool mckl::internal::uniform_int_distribution_use_double_big (IntType a, IntType b, std::true_type)
 
template<typename IntType >
bool mckl::internal::uniform_int_distribution_use_double_big (IntType, IntType b, std::false_type)