32 #ifndef VSMC_RNG_CHI_SQUARED_DISTRIBUTION_HPP    33 #define VSMC_RNG_CHI_SQUARED_DISTRIBUTION_HPP    44 template <
typename RealType>
    54 template <
typename RealType>
    69     template <
typename RNGType>
    83 template <
typename RealType, 
typename RNGType>
    85     RNGType &rng, std::size_t n, RealType *r, RealType df)
    87     static_assert(std::is_floating_point<RealType>::value,
    88         "**chi_squared_distribution** USED WITH RealType OTHER THAN FLOATING "    98 #endif // VSMC_RNG_CHI_SQUARED_DISTRIBUTION_HPP 
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. 
 
#define VSMC_DEFINE_RNG_DISTRIBUTION_RAND_1(Name, name, p1)                                  
 
#define VSMC_DEFINE_RNG_DISTRIBUTION_1(Name, name, p1, v1)