Gamma
jhplot.math.num.special

Class Gamma



  • public final class Gammaextends Object
    Utility class that provides methods related to the gamma family of functions.
    • Method Detail

      • logGamma

        public static double logGamma(double x)

        Returns the natural logarithm of the gamma function Γ(x) (1).

        References:

        1. Eric W. Weisstein. "Gamma Function." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/GammaFunction.html

        Parameters:
        x - the point of evaluation.
        Returns:
        log(Γ(x))
      • regularizedGammaQ

        public static double regularizedGammaQ(double a,                       double x)                                throws NumericException

        Returns the regularized gamma function Q(a, x) = 1 - P(a, x) (1).

        References:

        1. Eric W. Weisstein. "Regularized Gamma Function." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/RegularizedGammaFunction.html

        Parameters:
        x - the evaluation point.
        a - the a parameter.
        Returns:
        Q(a, x)
        Throws:
        NumericException - if the value could not be computed.

SCaVis 1.7 © jWork.org