MCKL
Monte Carlo Kernel Library
Classes | Namespaces | Functions
chi_squared_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::ChiSquaredDistribution< RealType >
 The \(\chi^2\) distribution. More...
 
class  mckl::ChiSquaredDistribution< RealType >::param_type
 

Namespaces

 mckl
 
 mckl::internal
 

Functions

template<typename RealType , typename RNGType >
void mckl::chi_squared_distribution (RNGType &rng, std::size_t n, RealType *r, RealType df)
 
template<typename RealType , typename RNGType >
void mckl::chi_squared_distribution (RNGType &rng, std::size_t n, RealType *r, const typename ChiSquaredDistribution< RealType >::param_type &param)
 
template<typename RealType >
bool mckl::internal::chi_squared_distribution_check_param (RealType n)
 
template<typename RealType , typename RNGType >
void mckl::rand (RNGType &rng, ChiSquaredDistribution< RealType > &distribution, std::size_t N, RealType *r)