Signature | Description | Parameters |
---|---|---|
template<typename T> std::vector<T> gen_normal_dist(std::size_t n, const RandGenParams<T> ¶ms = { }); |
Generates random numbers according to the Normal (or Gaussian) random number distribution. It is defined as: see https://en.cppreference.com/w/cpp/numeric/random/normal_distribution It returns the vector of results Optional parameters to set: mean, std (scale), 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 |