Class IncompleteGamma.Lower

    • Method Detail

      • value

        public static double value​(double a,
                                   double x)
        Computes the lower incomplete gamma function \( \gamma(a, x) \).
        Parameters:
        a - Argument.
        x - Argument.
        Returns:
        \( \gamma(a, x) \).
        Throws:
        ArithmeticException - if the series evaluation fails to converge.
      • value

        public static double value​(double a,
                                   double x,
                                   double epsilon,
                                   int maxIterations)
        Computes the lower incomplete gamma function \( \gamma(a, x) \).
        Parameters:
        a - Argument.
        x - Argument.
        epsilon - Tolerance in series evaluation.
        maxIterations - Maximum number of iterations in series evaluation.
        Returns:
        \( \gamma(a, x) \).
        Throws:
        ArithmeticException - if the series evaluation fails to converge.