Log Gamma function ln((x))
double log_gamma( double x )
Returns a value for the logarithm of the Gamma function ln(x)
EX1
void log_gamma_ex1() { double x[5] = {1.0,1.25,1.5,1.75,2.0} double dResult[5]; for(int ii=0;ii<5; ii++) { dResult[ii] = log_gamma(x[ii]); printf("%4.1f: %12.4e\n",x[ii],dResult[ii]); } }
gamma, incomplete_gamma
origin.h