32 #ifndef VSMC_RNG_CHI_SQUARED_DISTRIBUTION_HPP    33 #define VSMC_RNG_CHI_SQUARED_DISTRIBUTION_HPP    44 template <
typename RealType>
    54 template <
typename RealType>
    66         return std::numeric_limits<result_type>::max 
VSMC_MNE();
    74     template <
typename RNGType>
    88 template <
typename RealType, 
typename RNGType>
    90     RNGType &rng, std::size_t n, RealType *r, RealType df)
    95 template <
typename RealType, 
typename RNGType>
    97     std::size_t n, RealType *r)
   104 #endif // VSMC_RNG_CHI_SQUARED_DISTRIBUTION_HPP 
#define VSMC_DEFINE_RNG_DISTRIBUTION_1(Name, name, T, T1, p1, v1)                      
 
void rng_rand(RNGType &rng, BernoulliDistribution< IntType > &dist, std::size_t n, IntType *r)
 
#define VSMC_DEFINE_RNG_DISTRIBUTION_OPERATORS
 
bool chi_squared_distribution_check_param(RealType n)
 
void chi_squared_distribution(RNGType &rng, std::size_t n, RealType *r, RealType df)
Generating  random variates. 
 
void gamma_distribution(RNGType &rng, std::size_t n, RealType *r, RealType alpha, RealType beta)
Generating gamma random variates.