test_class.file: jtstoolkit/src/test/java/ec/tstoolkit/dstats/GammaTest.java
test_class.identifier: GammaTest
test_case.body: @Test
      @Ignore
      public void stressTestGamma() {
          double s = 0;
          int N = 10000000;
          long t0 = System.currentTimeMillis();
          for (int i = 0; i < N; ++i) {
              Gamma.gamma(1+i%10);
          }
          long t1 = System.currentTimeMillis();
          System.out.println("New gamma");
          System.out.println(t1 - t0);
          t0 = System.currentTimeMillis();
          for (int i = 0; i < N; ++i) {
              SpecialFunctions.gamma(1+i%10);
          }
          t1 = System.currentTimeMillis();
          System.out.println("Old gamma");
          System.out.println(t1 - t0);
      }
test_case.class_method_signature: GammaTest.stressTestGamma()
test_case.full_signature: @Test @Ignore public void stressTestGamma()
test_case.identifier: stressTestGamma
test_case.invocations: currentTimeMillis gamma currentTimeMillis println println currentTimeMillis gamma currentTimeMillis println println
test_case.modifiers: @Test @Ignore public
test_case.parameters: ()
test_case.return: void
test_case.signature: void stressTestGamma()
focal_class.declarator: MAXGAM = 171.624376956302725
focal_class.modifier: public static final
focal_class.original_string: public static final double MAXGAM = 171.624376956302725;
focal_class.type: double
focal_class.var_name: MAXGAM
focal_class.declarator: alpha
focal_class.modifier: private final
focal_class.original_string: private final double alpha, beta;
focal_class.type: double
focal_class.var_name: alpha
focal_class.declarator: MAXSTIR = 143.01608
focal_class.modifier: private static final
focal_class.original_string: private static final double MAXSTIR = 143.01608;
focal_class.type: double
focal_class.var_name: MAXSTIR
focal_class.file: jtstoolkit/src/main/java/ec/tstoolkit/dstats/Gamma.java
focal_class.identifier: Gamma
focal_class.interfaces: implements IContinuousDistribution
focal_class.class_method_signature: Gamma.Gamma(double alpha, double beta)
focal_class.full_signature: public  Gamma(double alpha, double beta)
focal_class.identifier: Gamma
focal_class.modifiers: public
focal_class.parameters: (double alpha, double beta)
focal_class.signature:  Gamma(double alpha, double beta)
focal_class.class_method_signature: Gamma.getDensity(double x)
focal_class.full_signature: @Override public double getDensity(double x)
focal_class.identifier: getDensity
focal_class.modifiers: @Override public
focal_class.parameters: (double x)
focal_class.return: double
focal_class.signature: double getDensity(double x)
focal_class.class_method_signature: Gamma.getShape()
focal_class.full_signature: public double getShape()
focal_class.identifier: getShape
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getShape()
focal_class.class_method_signature: Gamma.getScale()
focal_class.full_signature: public double getScale()
focal_class.identifier: getScale
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getScale()
focal_class.class_method_signature: Gamma.getLeftBound()
focal_class.full_signature: @Override public double getLeftBound()
focal_class.identifier: getLeftBound
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getLeftBound()
focal_class.class_method_signature: Gamma.getRightBound()
focal_class.full_signature: @Override public double getRightBound()
focal_class.identifier: getRightBound
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getRightBound()
focal_class.class_method_signature: Gamma.getDescription()
focal_class.full_signature: @Override public String getDescription()
focal_class.identifier: getDescription
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDescription()
focal_class.class_method_signature: Gamma.getExpectation()
focal_class.full_signature: @Override public double getExpectation()
focal_class.identifier: getExpectation
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getExpectation()
focal_class.class_method_signature: Gamma.getProbability(double x, ProbabilityType pt)
focal_class.full_signature: @Override public double getProbability(double x, ProbabilityType pt)
focal_class.identifier: getProbability
focal_class.modifiers: @Override public
focal_class.parameters: (double x, ProbabilityType pt)
focal_class.return: double
focal_class.signature: double getProbability(double x, ProbabilityType pt)
focal_class.class_method_signature: Gamma.getProbabilityInverse(double p, ProbabilityType pt)
focal_class.full_signature: @Override public double getProbabilityInverse(double p, ProbabilityType pt)
focal_class.identifier: getProbabilityInverse
focal_class.modifiers: @Override public
focal_class.parameters: (double p, ProbabilityType pt)
focal_class.return: double
focal_class.signature: double getProbabilityInverse(double p, ProbabilityType pt)
focal_class.class_method_signature: Gamma.getVariance()
focal_class.full_signature: @Override public double getVariance()
focal_class.identifier: getVariance
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getVariance()
focal_class.class_method_signature: Gamma.hasLeftBound()
focal_class.full_signature: @Override public BoundaryType hasLeftBound()
focal_class.identifier: hasLeftBound
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: BoundaryType
focal_class.signature: BoundaryType hasLeftBound()
focal_class.class_method_signature: Gamma.hasRightBound()
focal_class.full_signature: @Override public BoundaryType hasRightBound()
focal_class.identifier: hasRightBound
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: BoundaryType
focal_class.signature: BoundaryType hasRightBound()
focal_class.class_method_signature: Gamma.isSymmetrical()
focal_class.full_signature: @Override public boolean isSymmetrical()
focal_class.identifier: isSymmetrical
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSymmetrical()
focal_class.class_method_signature: Gamma.random(IRandomNumberGenerator rng)
focal_class.full_signature: @Override public double random(IRandomNumberGenerator rng)
focal_class.identifier: random
focal_class.modifiers: @Override public
focal_class.parameters: (IRandomNumberGenerator rng)
focal_class.return: double
focal_class.signature: double random(IRandomNumberGenerator rng)
focal_class.class_method_signature: Gamma.beta(double a, double b)
focal_class.full_signature: public static double beta(double a, double b)
focal_class.identifier: beta
focal_class.modifiers: public static
focal_class.parameters: (double a, double b)
focal_class.return: double
focal_class.signature: double beta(double a, double b)
focal_class.class_method_signature: Gamma.gamma(double x)
focal_class.full_signature: public static double gamma(double x)
focal_class.identifier: gamma
focal_class.modifiers: public static
focal_class.parameters: (double x)
focal_class.return: double
focal_class.signature: double gamma(double x)
focal_class.class_method_signature: Gamma.incompleteBeta(double aa, double bb, double xx)
focal_class.full_signature: public static double incompleteBeta(double aa, double bb, double xx)
focal_class.identifier: incompleteBeta
focal_class.modifiers: public static
focal_class.parameters: (double aa, double bb, double xx)
focal_class.return: double
focal_class.signature: double incompleteBeta(double aa, double bb, double xx)
focal_class.class_method_signature: Gamma.incompleteBetaFraction1(double a, double b, double x)
focal_class.full_signature: public static double incompleteBetaFraction1(double a, double b, double x)
focal_class.identifier: incompleteBetaFraction1
focal_class.modifiers: public static
focal_class.parameters: (double a, double b, double x)
focal_class.return: double
focal_class.signature: double incompleteBetaFraction1(double a, double b, double x)
focal_class.class_method_signature: Gamma.incompleteBetaFraction2(double a, double b, double x)
focal_class.full_signature: static double incompleteBetaFraction2(double a, double b, double x)
focal_class.identifier: incompleteBetaFraction2
focal_class.modifiers: static
focal_class.parameters: (double a, double b, double x)
focal_class.return: double
focal_class.signature: double incompleteBetaFraction2(double a, double b, double x)
focal_class.class_method_signature: Gamma.incompleteGamma(double a, double x)
focal_class.full_signature: public static double incompleteGamma(double a, double x)
focal_class.identifier: incompleteGamma
focal_class.modifiers: public static
focal_class.parameters: (double a, double x)
focal_class.return: double
focal_class.signature: double incompleteGamma(double a, double x)
focal_class.class_method_signature: Gamma.incompleteGammaComplement(double a, double x)
focal_class.full_signature: public static double incompleteGammaComplement(double a, double x)
focal_class.identifier: incompleteGammaComplement
focal_class.modifiers: public static
focal_class.parameters: (double a, double x)
focal_class.return: double
focal_class.signature: double incompleteGammaComplement(double a, double x)
focal_class.class_method_signature: Gamma.logGamma(double x)
focal_class.full_signature: public static double logGamma(double x)
focal_class.identifier: logGamma
focal_class.modifiers: public static
focal_class.parameters: (double x)
focal_class.return: double
focal_class.signature: double logGamma(double x)
focal_class.class_method_signature: Gamma.powerSeries(double a, double b, double x)
focal_class.full_signature: static double powerSeries(double a, double b, double x)
focal_class.identifier: powerSeries
focal_class.modifiers: static
focal_class.parameters: (double a, double b, double x)
focal_class.return: double
focal_class.signature: double powerSeries(double a, double b, double x)
focal_class.class_method_signature: Gamma.stirlingFormula(double x)
focal_class.full_signature: static double stirlingFormula(double x)
focal_class.identifier: stirlingFormula
focal_class.modifiers: static
focal_class.parameters: (double x)
focal_class.return: double
focal_class.signature: double stirlingFormula(double x)
focal_method.body: public Gamma(double alpha, double beta) {
          this.alpha = alpha;
          this.beta = beta;
      }
focal_method.class_method_signature: Gamma.Gamma(double alpha, double beta)
focal_method.full_signature: public  Gamma(double alpha, double beta)
focal_method.identifier: Gamma
focal_method.modifiers: public
focal_method.parameters: (double alpha, double beta)
focal_method.signature:  Gamma(double alpha, double beta)