/external/apache-commons-math/src/main/java/org/apache/commons/math/ |
D | MaxIterationsExceededException.java | 38 private final int maxIterations; field in MaxIterationsExceededException 44 public MaxIterationsExceededException(final int maxIterations) { in MaxIterationsExceededException() argument 45 super(LocalizedFormats.MAX_ITERATIONS_EXCEEDED, maxIterations); in MaxIterationsExceededException() 46 this.maxIterations = maxIterations; in MaxIterationsExceededException() 58 public MaxIterationsExceededException(final int maxIterations, in MaxIterationsExceededException() argument 60 this(maxIterations, new DummyLocalizable(pattern), arguments); in MaxIterationsExceededException() 71 public MaxIterationsExceededException(final int maxIterations, in MaxIterationsExceededException() argument 74 this.maxIterations = maxIterations; in MaxIterationsExceededException() 81 return maxIterations; in getMaxIterations()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/ |
D | AbstractLinearOptimizer.java | 65 private int maxIterations; field in AbstractLinearOptimizer 78 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument 79 this.maxIterations = maxIterations; in setMaxIterations() 84 return maxIterations; in getMaxIterations() 98 if (++iterations > maxIterations) { in incrementIterationsCounter() 99 throw new OptimizationException(new MaxIterationsExceededException(maxIterations)); in incrementIterationsCounter()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
D | PoissonDistributionImpl.java | 65 private int maxIterations = DEFAULT_MAX_ITERATIONS; field in PoissonDistributionImpl 92 public PoissonDistributionImpl(double p, double epsilon, int maxIterations) { in PoissonDistributionImpl() argument 95 this.maxIterations = maxIterations; in PoissonDistributionImpl() 117 public PoissonDistributionImpl(double p, int maxIterations) { in PoissonDistributionImpl() argument 119 this.maxIterations = maxIterations; in PoissonDistributionImpl() 219 return Gamma.regularizedGammaQ((double) x + 1, mean, epsilon, maxIterations); in cumulativeProbability()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/ |
D | AbstractScalarDifferentiableOptimizer.java | 61 private int maxIterations; field in AbstractScalarDifferentiableOptimizer 92 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument 93 this.maxIterations = maxIterations; in setMaxIterations() 98 return maxIterations; in getMaxIterations() 142 if (++iterations > maxIterations) { in incrementIterationsCounter() 143 throw new OptimizationException(new MaxIterationsExceededException(maxIterations)); in incrementIterationsCounter()
|
D | AbstractLeastSquaresOptimizer.java | 99 private int maxIterations; field in AbstractLeastSquaresOptimizer 130 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument 131 this.maxIterations = maxIterations; in setMaxIterations() 136 return maxIterations; in getMaxIterations() 180 if (++iterations > maxIterations) { in incrementIterationsCounter() 181 throw new OptimizationException(new MaxIterationsExceededException(maxIterations)); in incrementIterationsCounter()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/special/ |
D | Beta.java | 89 int maxIterations) throws MathException in regularizedBeta() argument 91 return regularizedBeta(x, a, b, DEFAULT_EPSILON, maxIterations); in regularizedBeta() 118 final double b, double epsilon, int maxIterations) throws MathException in regularizedBeta() argument 127 ret = 1.0 - regularizedBeta(1.0 - x, b, a, epsilon, maxIterations); in regularizedBeta() 153 FastMath.log(a) - logBeta(a, b, epsilon, maxIterations)) * in regularizedBeta() 154 1.0 / fraction.evaluate(x, epsilon, maxIterations); in regularizedBeta() 189 int maxIterations) { in logBeta() argument
|
D | Gamma.java | 161 int maxIterations) in regularizedGammaP() argument 173 ret = 1.0 - regularizedGammaQ(a, x, epsilon, maxIterations); in regularizedGammaP() 179 … while (FastMath.abs(an/sum) > epsilon && n < maxIterations && sum < Double.POSITIVE_INFINITY) { in regularizedGammaP() 187 if (n >= maxIterations) { in regularizedGammaP() 188 throw new MaxIterationsExceededException(maxIterations); in regularizedGammaP() 238 int maxIterations) in regularizedGammaQ() argument 250 ret = 1.0 - regularizedGammaP(a, x, epsilon, maxIterations); in regularizedGammaQ() 266 ret = 1.0 / cf.evaluate(x, epsilon, maxIterations); in regularizedGammaQ()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/ |
D | BracketFinder.java | 46 private final int maxIterations; field in BracketFinder 96 int maxIterations) { in BracketFinder() argument 100 if (maxIterations <= 0) { in BracketFinder() 101 throw new NotStrictlyPositiveException(maxIterations); in BracketFinder() 105 this.maxIterations = maxIterations; in BracketFinder() 145 if (++iterations > maxIterations) { in search() 146 throw new MaxIterationsExceededException(maxIterations); in search()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
D | MultiStartDifferentiableMultivariateRealOptimizer.java | 47 private int maxIterations; field in MultiStartDifferentiableMultivariateRealOptimizer 127 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument 128 this.maxIterations = maxIterations; in setMaxIterations() 133 return maxIterations; in getMaxIterations() 186 optimizer.setMaxIterations(maxIterations - totalIterations); in optimize()
|
D | MultiStartMultivariateRealOptimizer.java | 47 private int maxIterations; field in MultiStartMultivariateRealOptimizer 122 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument 123 this.maxIterations = maxIterations; in setMaxIterations() 128 return maxIterations; in getMaxIterations() 175 optimizer.setMaxIterations(maxIterations - totalIterations); in optimize()
|
D | MultiStartDifferentiableMultivariateVectorialOptimizer.java | 50 private int maxIterations; field in MultiStartDifferentiableMultivariateVectorialOptimizer 131 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument 132 this.maxIterations = maxIterations; in setMaxIterations() 137 return maxIterations; in getMaxIterations() 190 optimizer.setMaxIterations(maxIterations - totalIterations); in optimize()
|
D | MultiStartUnivariateRealOptimizer.java | 48 private int maxIterations; field in MultiStartUnivariateRealOptimizer 113 return maxIterations; in getMaximalIterationCount() 153 this.maxIterations = count; in setMaximalIterationCount() 240 optimizer.setMaximalIterationCount(maxIterations - totalIterations); in optimize()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | ContinuedFraction.java | 96 public double evaluate(double x, int maxIterations) throws MathException { in evaluate() argument 97 return evaluate(x, DEFAULT_EPSILON, maxIterations); in evaluate() 126 public double evaluate(double x, double epsilon, int maxIterations) in evaluate() argument 136 while (n < maxIterations && relativeError > epsilon) { in evaluate() 200 if (n >= maxIterations) { in evaluate() 201 throw new MaxIterationsExceededException(maxIterations, in evaluate()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | LocaleDistanceTest.java | 77 final int maxIterations = 1000; in testTiming() local 79 for (int iterations = maxIterations; iterations > 0; --iterations) { in testTiming() 111 logln("\tlikelyTime:\t" + likelyTime/maxIterations); in testTiming() 112 logln("\toldTime-likelyTime:\t" + oldTimeMinusLikely/maxIterations); in testTiming() 113 logln("totalOld:\t" + oldTime/maxIterations); in testTiming() 114 logln("\tnewLikelyTime:\t" + newLikelyTime/maxIterations); in testTiming() 115 logln("totalNew:\t" + newTime/maxIterations); in testTiming()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | LocaleDistanceTest.java | 80 final int maxIterations = 1000; in testTiming() local 82 for (int iterations = maxIterations; iterations > 0; --iterations) { in testTiming() 114 logln("\tlikelyTime:\t" + likelyTime/maxIterations); in testTiming() 115 logln("\toldTime-likelyTime:\t" + oldTimeMinusLikely/maxIterations); in testTiming() 116 logln("totalOld:\t" + oldTime/maxIterations); in testTiming() 117 logln("\tnewLikelyTime:\t" + newLikelyTime/maxIterations); in testTiming() 118 logln("totalNew:\t" + newTime/maxIterations); in testTiming()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/ |
D | DirectSearchOptimizer.java | 101 private int maxIterations; field in DirectSearchOptimizer 217 public void setMaxIterations(int maxIterations) { in setMaxIterations() argument 218 this.maxIterations = maxIterations; in setMaxIterations() 223 return maxIterations; in getMaxIterations() 317 if (++iterations > maxIterations) { in incrementIterationsCounter() 318 throw new OptimizationException(new MaxIterationsExceededException(maxIterations)); in incrementIterationsCounter()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | XLocaleDistanceTest.java | 70 final int maxIterations = 10000; in testTiming() local 72 for (int iterations = maxIterations; iterations > 0; --iterations) { in testTiming() 104 logln("\tlikelyTime:\t" + likelyTime / maxIterations); in testTiming() 105 logln("\toldTime-likelyTime:\t" + oldTimeMinusLikely / maxIterations); in testTiming() 106 logln("totalOld:\t" + oldTime / maxIterations); in testTiming() 107 logln("\tnewLikelyTime:\t" + newLikelyTime / maxIterations); in testTiming() 108 logln("totalNew:\t" + newTime / maxIterations); in testTiming()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
D | FractionConversionException.java | 41 public FractionConversionException(double value, int maxIterations) { in FractionConversionException() argument 42 super(LocalizedFormats.FAILED_FRACTION_CONVERSION, value, maxIterations); in FractionConversionException()
|
D | Fraction.java | 118 public Fraction(double value, double epsilon, int maxIterations) in Fraction() argument 121 this(value, epsilon, Integer.MAX_VALUE, maxIterations); in Fraction() 175 private Fraction(double value, double epsilon, int maxDenominator, int maxIterations) in Fraction() argument 214 … if (n < maxIterations && FastMath.abs(convergent - value) > epsilon && q2 < maxDenominator) { in Fraction() 226 if (n >= maxIterations) { in Fraction() 227 throw new FractionConversionException(value, maxIterations); in Fraction()
|
D | BigFraction.java | 229 final int maxIterations) in BigFraction() argument 231 this(value, epsilon, Integer.MAX_VALUE, maxIterations); in BigFraction() 269 final int maxDenominator, int maxIterations) in BigFraction() argument 307 if ((n < maxIterations) && in BigFraction() 321 if (n >= maxIterations) { in BigFraction() 322 throw new FractionConversionException(value, maxIterations); in BigFraction()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
D | KMeansPlusPlusClusterer.java | 93 final int k, final int maxIterations) { in cluster() argument 99 final int max = (maxIterations < 0) ? Integer.MAX_VALUE : maxIterations; in cluster()
|
/external/aac/libAACenc/src/ |
D | qc_data.h | 162 INT maxIterations; /* Maximum number of allowed iterations before member 282 INT maxIterations; /* Maximum number of allowed iterations before member
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
D | LeastSquareConjugateGradient.h | 187 m_iterations = Base::maxIterations(); 192 m_iterations = Base::maxIterations();
|
/external/guava/guava/src/com/google/common/collect/ |
D | TopKSelector.java | 162 int maxIterations = IntMath.log2(right - left, RoundingMode.CEILING) * 3; in trim() local 177 if (iterations >= maxIterations) { in trim()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | TopKSelector.java | 161 int maxIterations = IntMath.log2(right - left, RoundingMode.CEILING) * 3; in trim() local 176 if (iterations >= maxIterations) { in trim()
|