> for ease of use That justifies anything. > not complex at all Only if you ignore the full definition involving [probability density functions][1] and such. > R users R has [`sd()`][2] built in, including [extensive distribution function support][3]. You couldn't have picked a language *less* in need of an external implementation of this sort of function. [1]: https://mathworld.wolfram.com/ProbabilityDensityFunction.html [2]: https://www.rdocumentation.org/packages/stats/versions/3.6.2/topics/sd [3]: https://www.rdocumentation.org/packages/stats/versions/3.6.2/topics/Distributions