computes the lower or upper tail probability for the gamma distribution
double gamcdf( const double dG, double a, double b, int iTail = TAILED_TEST_LOWER, int * nFail = NULL )
Returns gamma cumulative distribution function
EX1
void gamcdf_ex1() { double x[]= {0.25, 0.5, 0.75}; double df1 = 3, df2 = 2; for(int ii = 0; ii<3; ii++) printf("%f %f %f: %f\n", x[ii], df1, df2, gamcdf(x[ii], df1, df2)); }
origin.h