Signature | Description | Parameters |
---|---|---|
template<typename T> std::vector<T> gen_lognormal_dist(std::size_t n, const RandGenParams<T> ¶ms = { }); |
The lognormal_distribution random number distribution produces random numbers x > 0 according to a log-normal distribution: see https://en.cppreference.com/w/cpp/numeric/random/lognormal_distribution It returns the vector of results Optional parameters to set: m (log-scale), s (shape), 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 |