Class RegularizedGamma.P

    • Constructor Summary

      Constructors 
      Constructor Description
      P()  
    • Method Summary

      Modifier and Type Method Description
      static double value​(double a, double x)
      Computes the regularized gamma function \( P(a, x) \).
      static double value​(double a, double x, double epsilon, int maxIterations)
      Computes the regularized gamma function \( P(a, x) \).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • P

        public P()
    • Method Detail

      • value

        public static double value​(double a,
                                   double x)
        Computes the regularized gamma function \( P(a, x) \).
        Parameters:
        a - Argument.
        x - Argument.
        Returns:
        \( P(a, x) \).
      • value

        public static double value​(double a,
                                   double x,
                                   double epsilon,
                                   int maxIterations)
        Computes the regularized gamma function \( P(a, x) \). The implementation of this method is based on:
        Parameters:
        a - Argument.
        x - Argument.
        epsilon - Tolerance in continued fraction evaluation.
        maxIterations - Maximum number of iterations in continued fraction evaluation.
        Returns:
        \( P(a, x) \).