Class RegularizedGamma.Q

    • Method Detail

      • value

        public static double value​(double a,
                                   double x)
        Computes the regularized gamma function \( Q(a, x) = 1 - P(a, x) \).
        Parameters:
        a - Argument.
        x - Argument.
        Returns:
        \( Q(a, x) \).
        Throws:
        ArithmeticException - if the continued fraction fails to converge.