Inverse gamma cumulative distribution function
double gaminv( const double dP, double a, double b, int * nFail = NULL )
Returns inverse gamma cumulative distribution function for probability, dP
EX1
void gaminv_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, gaminv(x[ii], df1, df2)); }
origin.h