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

Go to the source code of this file.

Classes

class  vsmc::BetaDistribution< RealType >
 beta distribution More...
 
class  vsmc::BetaDistribution< RealType >::param_type
 
class  vsmc::internal::BetaDistributionConstant< RealType >
 

Namespaces

 vsmc
 
 vsmc::internal
 

Enumerations

enum  vsmc::internal::BetaDistributionAlgorithm {
  vsmc::internal::BetaDistributionAlgorithmAS,
  vsmc::internal::BetaDistributionAlgorithm11,
  vsmc::internal::BetaDistributionAlgorithm1X,
  vsmc::internal::BetaDistributionAlgorithmX1,
  vsmc::internal::BetaDistributionAlgorithmC,
  vsmc::internal::BetaDistributionAlgorithmJ,
  vsmc::internal::BetaDistributionAlgorithmA1,
  vsmc::internal::BetaDistributionAlgorithmA2,
  vsmc::internal::BetaDistributionAlgorithmA3
}
 

Functions

template<typename RealType , typename RNGType >
void vsmc::beta_distribution (RNGType &rng, std::size_t n, RealType *r, RealType alpha, RealType beta)
 Generating beta random variates. More...
 
template<typename RealType >
bool vsmc::internal::beta_distribution_check_param (RealType alpha, RealType beta)
 
template<std::size_t K, typename RealType , typename RNGType >
std::size_t vsmc::internal::beta_distribution_impl (RNGType &rng, std::size_t n, RealType *r, RealType alpha, RealType beta, const BetaDistributionConstant< RealType > &constant)
 
template<std::size_t , typename RealType , typename RNGType >
std::size_t vsmc::internal::beta_distribution_impl_11 (RNGType &rng, std::size_t n, RealType *r, RealType, RealType, const BetaDistributionConstant< RealType > &)
 
template<std::size_t , typename RealType , typename RNGType >
std::size_t vsmc::internal::beta_distribution_impl_1x (RNGType &rng, std::size_t n, RealType *r, RealType, RealType, const BetaDistributionConstant< RealType > &constant)
 
template<std::size_t , typename RealType , typename RNGType >
std::size_t vsmc::internal::beta_distribution_impl_a1 (RNGType &, std::size_t, RealType *, RealType, RealType, const BetaDistributionConstant< RealType > &)
 
template<std::size_t , typename RealType , typename RNGType >
std::size_t vsmc::internal::beta_distribution_impl_a2 (RNGType &, std::size_t, RealType *, RealType, RealType, const BetaDistributionConstant< RealType > &)
 
template<std::size_t , typename RealType , typename RNGType >
std::size_t vsmc::internal::beta_distribution_impl_a3 (RNGType &, std::size_t, RealType *, RealType, RealType, const BetaDistributionConstant< RealType > &)
 
template<std::size_t , typename RealType , typename RNGType >
std::size_t vsmc::internal::beta_distribution_impl_as (RNGType &rng, std::size_t n, RealType *r, RealType, RealType, const BetaDistributionConstant< RealType > &)
 
template<std::size_t K, typename RealType , typename RNGType >
std::size_t vsmc::internal::beta_distribution_impl_c (RNGType &rng, std::size_t n, RealType *r, RealType alpha, RealType beta, const BetaDistributionConstant< RealType > &constant)
 
template<std::size_t K, typename RealType , typename RNGType >
std::size_t vsmc::internal::beta_distribution_impl_j (RNGType &rng, std::size_t n, RealType *r, RealType, RealType, const BetaDistributionConstant< RealType > &constant)
 
template<std::size_t , typename RealType , typename RNGType >
std::size_t vsmc::internal::beta_distribution_impl_x1 (RNGType &rng, std::size_t n, RealType *r, RealType, RealType, const BetaDistributionConstant< RealType > &constant)
 
template<typename RealType , typename RNGType >
void vsmc::rng_rand (RNGType &rng, BetaDistribution< RealType > &dist, std::size_t n, RealType *r)