MCKL
Monte Carlo Kernel Library
Classes | Namespaces | Functions
geometric_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::GeometricDistribution< IntType >
 Geometric distribution. More...
 
class  mckl::GeometricDistribution< IntType >::param_type
 

Namespaces

 mckl
 
 mckl::internal
 

Functions

template<typename InType , typename RNGType >
void mckl::geometric_distribution (RNGType &rng, std::size_t N, InType *r, double p)
 
template<typename InType , typename RNGType >
void mckl::geometric_distribution (RNGType &rng, std::size_t N, InType *r, const typename GeometricDistribution< InType >::param_type &param)
 
bool mckl::internal::geometric_distribution_check_param (double p)
 
template<std::size_t K, typename IntType , typename RNGType >
void mckl::internal::geometric_distribution_impl (RNGType &rng, std::size_t n, IntType *r, double p)
 
template<typename IntType , typename RNGType >
void mckl::rand (RNGType &rng, GeometricDistribution< IntType > &distribution, std::size_t N, IntType *r)