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

Go to the source code of this file.

Classes

class  mckl::DirichletDistribution< RealType >
 
class  mckl::DirichletDistribution< RealType >::param_type
 

Namespaces

 mckl
 
 mckl::internal
 

Functions

template<typename RealType , typename RNGType >
void mckl::dirichlet_distribution (RNGType &rng, std::size_t n, RealType *r, std::size_t dim, const RealType alpha)
 
template<typename RealType , typename RNGType >
void mckl::dirichlet_distribution (RNGType &rng, std::size_t n, RealType *r, std::size_t dim, const RealType *alpha)
 
template<typename RealType >
void mckl::internal::dirichlet_distribution_avg (std::size_t n, std::size_t dim, RealType *r)
 
template<typename RealType >
bool mckl::internal::dirichlet_distribution_check_param (std::size_t dim, RealType *alpha)
 
template<typename RealType , typename RNGType >
void mckl::rand (RNGType &rng, DirichletDistribution< RealType > &distribution, RealType *r)
 
template<typename RealType , typename RNGType >
void mckl::rand (RNGType &rng, DirichletDistribution< RealType > &distribution, std::size_t n, RealType *r)