vSMC
vSMC: Scalable Monte Carlo
Classes | Namespaces | Functions
exponential_distribution.hpp File Reference
#include <vsmc/rng/internal/common.hpp>
#include <vsmc/rng/u01_distribution.hpp>

Go to the source code of this file.

Classes

class  vsmc::ExponentialDistribution< RealType >
 Exponential distribution. More...
 
class  vsmc::ExponentialDistribution< RealType >::param_type
 

Namespaces

 vsmc
 
 vsmc::internal
 

Functions

template<typename RealType , typename RNGType >
void vsmc::exponential_distribution (RNGType &rng, std::size_t n, RealType *r, RealType lambda)
 Generating exponential random variates. More...
 
template<typename RealType , typename RNGType >
void vsmc::exponential_distribution (RNGType &rng, std::size_t n, RealType *r, const typename ExponentialDistribution< RealType >::param_type &param)
 
template<typename RealType >
bool vsmc::internal::exponential_distribution_check_param (RealType lambda)
 
template<typename RealType , typename RNGType >
void vsmc::internal::exponential_distribution_impl (RNGType &rng, std::size_t n, RealType *r, RealType lambda)
 
template<typename RealType , typename RNGType >
void vsmc::rng_rand (RNGType &rng, ExponentialDistribution< RealType > &dist, std::size_t n, RealType *r)