Functions
Allows static computation of complementary cdf function assumes that distribution's range is {0,1, ...}
Allows static computation of cdf assumes that distribution's range is {0,1, ...} false indicated the use of the incomplete gamma function It yields about 7 digits of accuracy, the recursive algorithm has more accuracy
Returns the quantile associated with the supplied probablity, x assumes that distribution's range is {0,1, ...}
Computes the first order loss function for the distribution function for given value of x, G1(x) = Emax(X-x,0)
Computes the second-order loss function in the second factorial moment form, as in Zipkin, Foundations of Inventory Management (2000):
Allows static computation of prob mass function assumes that distribution's range is {0,1, ...}
Computes the cdf at j using a recursive (iterative) algorithm using logarithms
Computes the probability mass function at j using a recursive (iterative) algorithm using logarithms