/// <summary>
        /// Cumulative Density Function
        /// </summary>
        /// <see cref="https://en.wikipedia.org/wiki/Cumulative_distribution_function"/>
        public override double Cdf(double x)
        {
            if (x <= 0)
            {
                return(0.0);
            }
            else if (x >= Count)
            {
                return(1.0);
            }

            return(GammaFunctions.BetaIncomplete(Q, Count - x, x + 1));
        }
        /// <summary>
        /// Cumulative Density Function
        /// </summary>
        /// <see cref="https://en.wikipedia.org/wiki/Cumulative_distribution_function"/>
        public override double Cdf(double x)
        {
            if (x <= A)
            {
                return(0.0);
            }
            else if (x >= C)
            {
                return(1.0);
            }

            return(GammaFunctions.BetaIncomplete((x - A) / (C - A), Alpha, Beta));
        }