I need to know a way to have the Gaussian Distribution of 50 numbers. I know of the Boost library, which generates random numbers. In my case, I don\'t need random numbers; I ne
If I got your question right you looking for the estimated normal distribution,
that is for the sample mean
and the variance of the sample
.
The former is calculated as:

and the latter as:

The sample mean can be used as expected value
and the sample variance as
in the gaussian distribution:

If you want more information check out:
I hope that answered your question ;)