test_class.file: jtstoolkit/src/test/java/ec/tstoolkit/dstats/Chi2Test.java
test_class.identifier: Chi2Test
test_case.body: @Test
      @Ignore
      public void testRandomsOld() {
          double s = 0;
          int N = 1000000;
          long t0 = System.currentTimeMillis();
          MersenneTwister rng = MersenneTwister.fromSystemNanoTime();
          for (int i = 0; i < N; ++i) {
              s += StochasticRandomizer.chi2(rng, 20);
          }
          long t1 = System.currentTimeMillis();
          System.out.println("Old");
          System.out.println(t1 - t0);
          System.out.println(s / N);
      }
test_case.class_method_signature: Chi2Test.testRandomsOld()
test_case.full_signature: @Test @Ignore public void testRandomsOld()
test_case.identifier: testRandomsOld
test_case.invocations: currentTimeMillis fromSystemNanoTime chi2 currentTimeMillis println println println
test_case.modifiers: @Test @Ignore public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRandomsOld()
focal_class.declarator: NAME = "Chi2"
focal_class.modifier: public static final
focal_class.original_string: public static final String NAME = "Chi2";
focal_class.type: String
focal_class.var_name: NAME
focal_class.declarator: df_
focal_class.modifier: private
focal_class.original_string: private int df_;
focal_class.type: int
focal_class.var_name: df_
focal_class.declarator: b
focal_class.modifier: private
focal_class.original_string: private double b, vm, vd, vp;
focal_class.type: double
focal_class.var_name: b
focal_class.file: jtstoolkit/src/main/java/ec/tstoolkit/dstats/Chi2.java
focal_class.identifier: Chi2
focal_class.interfaces: implements IContinuousDistribution
focal_class.class_method_signature: Chi2.Chi2()
focal_class.full_signature: @Deprecated public  Chi2()
focal_class.identifier: Chi2
focal_class.modifiers: @Deprecated public
focal_class.parameters: ()
focal_class.signature:  Chi2()
focal_class.class_method_signature: Chi2.Chi2(final int df)
focal_class.full_signature: public  Chi2(final int df)
focal_class.identifier: Chi2
focal_class.modifiers: public
focal_class.parameters: (final int df)
focal_class.signature:  Chi2(final int df)
focal_class.class_method_signature: Chi2.getDegreesofFreedom()
focal_class.full_signature: public int getDegreesofFreedom()
focal_class.identifier: getDegreesofFreedom
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getDegreesofFreedom()
focal_class.class_method_signature: Chi2.getDensity(final double x)
focal_class.full_signature: @Override public double getDensity(final double x)
focal_class.identifier: getDensity
focal_class.modifiers: @Override public
focal_class.parameters: (final double x)
focal_class.return: double
focal_class.signature: double getDensity(final double x)
focal_class.class_method_signature: Chi2.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: Chi2.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: Chi2.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: Chi2.getProbability(final double x, final ProbabilityType pt)
focal_class.full_signature: @Override public double getProbability(final double x, final ProbabilityType pt)
focal_class.identifier: getProbability
focal_class.modifiers: @Override public
focal_class.parameters: (final double x, final ProbabilityType pt)
focal_class.return: double
focal_class.signature: double getProbability(final double x, final ProbabilityType pt)
focal_class.class_method_signature: Chi2.getProbabilityInverse(double p, final ProbabilityType pt)
focal_class.full_signature: @Override public double getProbabilityInverse(double p, final ProbabilityType pt)
focal_class.identifier: getProbabilityInverse
focal_class.modifiers: @Override public
focal_class.parameters: (double p, final ProbabilityType pt)
focal_class.return: double
focal_class.signature: double getProbabilityInverse(double p, final ProbabilityType pt)
focal_class.class_method_signature: Chi2.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: Chi2.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: Chi2.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: Chi2.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: Chi2.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: Chi2.random(IRandomNumberGenerator rng)
focal_class.full_signature: @Override /** * REFERENCE : - J.F. Monahan (1987): An algorithm for * generating chi * random variables, ACM Trans. * Math. Software 13, 168-172. * Based on "cern.jet.random.ChiSquare", from the Colt library * Copyright (c) 1999 CERN - European Organization for Nuclear Research. */ public double random(IRandomNumberGenerator rng)
focal_class.identifier: random
focal_class.modifiers: @Override /** * REFERENCE : - J.F. Monahan (1987): An algorithm for * generating chi * random variables, ACM Trans. * Math. Software 13, 168-172. * Based on "cern.jet.random.ChiSquare", from the Colt library * Copyright (c) 1999 CERN - European Organization for Nuclear Research. */ public
focal_class.parameters: (IRandomNumberGenerator rng)
focal_class.return: double
focal_class.signature: double random(IRandomNumberGenerator rng)
focal_class.class_method_signature: Chi2.setDegreesofFreedom(final int df)
focal_class.full_signature: @Deprecated public void setDegreesofFreedom(final int df)
focal_class.identifier: setDegreesofFreedom
focal_class.modifiers: @Deprecated public
focal_class.parameters: (final int df)
focal_class.return: void
focal_class.signature: void setDegreesofFreedom(final int df)
focal_class.class_method_signature: Chi2.fillHelpers()
focal_class.full_signature: private void fillHelpers()
focal_class.identifier: fillHelpers
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void fillHelpers()
focal_class.class_method_signature: Chi2.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Deprecated
      public Chi2() {
          df_ = 2;
          fillHelpers();
      }
focal_method.class_method_signature: Chi2.Chi2()
focal_method.full_signature: @Deprecated public  Chi2()
focal_method.identifier: Chi2
focal_method.modifiers: @Deprecated public
focal_method.parameters: ()
focal_method.signature:  Chi2()