Back to Documentations

Signature Description Parameters
template<typename T, std::size_t A = 0>
std::vector<T, typename allocator_declare<T, A>::type>
gen_extreme_value_dist(std::size_t n, const RandGenParams<T> &params = { });
Produces random numbers according to the extreme value distribution
(it is also known as Gumbel Type I, log-Weibull, Fisher-Tippett Type I):
see https://en.cppreference.com/w/cpp/numeric/random/extreme_value_distribution

It returns the vector of results
Optional parameters to set:
alpha (location), beta (scale), seed
T: Type can only be float, double, or long double
A: Memory alignment boundary for vectors. Default is system default alignment
n: Number of numerics to generate
params: List of all applicable parameters, see DataFrameTypes.h

C++ DataFrame