Signature | Description | Parameters |
---|---|---|
template<typename T> std::vector<T> gen_uniform_int_dist(std::size_t n, const RandGenParams<T> ¶ms = { }); |
It generates n uniform integer distribution random numbers.1 P(i|a,b) = ----------- b − a + 1It returns the vector of results Optional parameters to set: max_value, min_value, seed |
T: Type can only be [unsigned] char, [unsigned] short, [unsigned] int, [unsigned] long int, or [unsigned] long long int n: Number of numerics to generate params: List of all applicable parameters, see DataFrameTypes.h |