/// <summary>
        /// Creates a Gaussian distribution with given mean and precision.
        /// </summary>
        /// <param name="mean">The desired mean.</param>
        /// <param name="precision">precision = 1/variance.</param>
        /// <returns>A new Gaussian distribution.</returns>
        public static Gaussian FromMeanAndPrecision(double mean, double precision)
        {
            Gaussian result = new Gaussian();

            result.SetMeanAndPrecision(mean, precision);
            return(result);
        }