public static double gamma(double x){
  return Math.exp(logGamma(x));
}

public static double gamma ( double x ) { return Math . exp ( logGamma ( x ) ) ; }
returns the value of the gamma function : gamma ( x ) = integral ( t ^ ( x - 1 ) e ^ ( - t ) , t = 0 . . infinity )
