Description

NormFloat64 returns a normally distributed float64 in the range [-math.MaxFloat64, +math.MaxFloat64] with standard normal distribution (mean = 0, stddev = 1) from the default Source. To produce a different normal distribution, callers can adjust the output using:

sample = NormFloat64() * desiredStdDev + desiredMean

NormFloat64 is referenced in 254 repositories

github.com/golang/go github.com/gonum/matrix github.com/jonlawlor/matrix

...