Documentation of 'smile.math.special.Gamma' Java class
Gamma
smile.math.special

Class Gamma



  • public class Gamma
    extends java.lang.Object
    The gamma, digamma, and incomplete gamma functions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double digamma(double x)
      The digamma function is defined as the logarithmic derivative of the gamma function.
      static double gamma(double x)
      Gamma function.
      static double inverseRegularizedIncompleteGamma(double a, double p)
      The inverse of regularized incomplete gamma function.
      static double lgamma(double x)
      log of the Gamma function.
      static double regularizedIncompleteGamma(double s, double x)
      Regularized Incomplete Gamma Function P(s,x) = 0x e-t t(s-1) dt
      static double regularizedUpperIncompleteGamma(double s, double x)
      Regularized Upper/Complementary Incomplete Gamma Function Q(s,x) = 1 - P(s,x) = 1 - 0x e-t t(s-1) dt
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • gamma

        public static double gamma(double x)
        Gamma function. Lanczos approximation (6 terms).
      • lgamma

        public static double lgamma(double x)
        log of the Gamma function. Lanczos approximation (6 terms)
      • regularizedIncompleteGamma

        public static double regularizedIncompleteGamma(double s,
                                                        double x)
        Regularized Incomplete Gamma Function P(s,x) = 0x e-t t(s-1) dt
      • regularizedUpperIncompleteGamma

        public static double regularizedUpperIncompleteGamma(double s,
                                                             double x)
        Regularized Upper/Complementary Incomplete Gamma Function Q(s,x) = 1 - P(s,x) = 1 - 0x e-t t(s-1) dt
      • digamma

        public static double digamma(double x)
        The digamma function is defined as the logarithmic derivative of the gamma function.
      • inverseRegularizedIncompleteGamma

        public static double inverseRegularizedIncompleteGamma(double a,
                                                               double p)
        The inverse of regularized incomplete gamma function.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.