Signature | Description | Parameters |
---|---|---|
template<typename T> std::vector<T> gen_chi_squared_dist(std::size_t n, const RandGenParams<T> ¶ms = { }); |
The chi_squared_distribution produces random numbers x > 0 according to the Chi-squared distribution: see https://en.cppreference.com/w/cpp/numeric/random/chi_squared_distribution It returns the vector of results Optional parameters to set: n (degree of freedom), seed |
T: Type can only be float, double, or long double n: Number of numerics to generate params: List of all applicable parameters, see DataFrameTypes.h |