nextGaussian

fun Random.nextGaussian(mean: Double, stddev: Double): Double

Next Gaussian realization

Parameters

mean

average. Is the mathematical expectation (mean value) of the normal distribution from which the random value will be returned. It defines the center of the distribution.

stddev

standard deviation. It is a measure of the spread or variability of values around the mean. The larger the value of the standard deviation, the wider the distribution, and therefore the values will be more spread out around the mean.