| Signature | Description | Parameters |
|---|---|---|
template<typename T> std::vector<T> gen_gamma_dist(std::size_t n, const RandGenParams<T> ¶ms = { }); |
Produces random non-negative floating-point values x,
distributed according to probability density function:
p(x∣α,β)=e−x/ββα⋅Γ(α)⋅xα−1
It returns the vector of resultsOptional parameters to set: alpha, beta, 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 |