Class GLogGamma

java.lang.Object
org.gorpipe.gor.util.GLogGamma

public class GLogGamma extends Object
Compute the log of the Gamma-function for integer values, i.e., compute log(n!) for n = 0,1,2,... Computed values are stored to avoid recalculations. Original version by Alfred Hauksson.
  • Constructor Details

    • GLogGamma

      public GLogGamma()
  • Method Details

    • get

      public static double get(int i)
      Returns log(i!).
      Parameters:
      i - non-negative integer
      Returns:
      log(i!)