Class LogGamma

    • Constructor Detail

      • LogGamma

        public LogGamma​(LogGamma.Method method,
                        Lanczos lanczos)
        Construct an instance of log-Gamma.
        Parameters:
        method - the Lanczos computation to use
        lanczos - the Lanczos approximation to use
      • LogGamma

        public LogGamma()
        Construct an instance of log-Gamma.
    • Method Detail

      • evaluate

        public double evaluate​(double x)
        Evaluate the log of the Gamma function in the positive real domain.
        Parameters:
        x - a real number > 0
        Returns:
        \(\log (\Gamma(z))\)