Class GLogGamma


  • public class GLogGamma
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      GLogGamma()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double get​(int i)
      Returns log(i!).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GLogGamma

        public GLogGamma()
    • Method Detail

      • get

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