HomeSort by relevance Sort by last modified time
    Searched refs:maxIterations (Results 1 - 25 of 40) sorted by null

1 2

  /external/apache-commons-math/src/main/java/org/apache/commons/math/
MaxIterationsExceededException.java 38 private final int maxIterations;
42 * @param maxIterations maximal number of iterations allowed
44 public MaxIterationsExceededException(final int maxIterations) {
45 super(LocalizedFormats.MAX_ITERATIONS_EXCEEDED, maxIterations);
46 this.maxIterations = maxIterations;
52 * @param maxIterations the exceeded maximal number of iterations
58 public MaxIterationsExceededException(final int maxIterations,
60 this(maxIterations, new DummyLocalizable(pattern), arguments);
66 * @param maxIterations the exceeded maximal number of iteration
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/
AbstractLinearOptimizer.java 65 private int maxIterations;
78 public void setMaxIterations(int maxIterations) {
79 this.maxIterations = maxIterations;
84 return maxIterations;
98 if (++iterations > maxIterations) {
99 throw new OptimizationException(new MaxIterationsExceededException(maxIterations));
LinearOptimizer.java 56 * @param maxIterations maximal number of function calls
58 void setMaxIterations(int maxIterations);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
FractionConversionException.java 39 * @param maxIterations maximal number of iterations allowed
41 public FractionConversionException(double value, int maxIterations) {
42 super(LocalizedFormats.FAILED_FRACTION_CONVERSION, value, maxIterations);
Fraction.java 114 * @param maxIterations maximum number of convergents
118 public Fraction(double value, double epsilon, int maxIterations)
121 this(value, epsilon, Integer.MAX_VALUE, maxIterations);
171 * @param maxIterations maximum number of convergents
175 private Fraction(double value, double epsilon, int maxDenominator, int maxIterations)
214 if (n < maxIterations && FastMath.abs(convergent - value) > epsilon && q2 < maxDenominator) {
226 if (n >= maxIterations) {
227 throw new FractionConversionException(value, maxIterations);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
PoissonDistributionImpl.java 65 private int maxIterations = DEFAULT_MAX_ITERATIONS;
89 * @param maxIterations the maximum number of iterations for cumulative probabilites
92 public PoissonDistributionImpl(double p, double epsilon, int maxIterations) {
95 this.maxIterations = maxIterations;
114 * @param maxIterations the maximum number of iterations for cumulative probabilites
117 public PoissonDistributionImpl(double p, int maxIterations) {
119 this.maxIterations = maxIterations;
219 return Gamma.regularizedGammaQ((double) x + 1, mean, epsilon, maxIterations);
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
AbstractScalarDifferentiableOptimizer.java 61 private int maxIterations;
92 public void setMaxIterations(int maxIterations) {
93 this.maxIterations = maxIterations;
98 return maxIterations;
142 if (++iterations > maxIterations) {
143 throw new OptimizationException(new MaxIterationsExceededException(maxIterations));
AbstractLeastSquaresOptimizer.java 99 private int maxIterations;
130 public void setMaxIterations(int maxIterations) {
131 this.maxIterations = maxIterations;
136 return maxIterations;
180 if (++iterations > maxIterations) {
181 throw new OptimizationException(new MaxIterationsExceededException(maxIterations));
  /external/apache-commons-math/src/main/java/org/apache/commons/math/special/
Beta.java 84 * @param maxIterations Maximum number of "iterations" to complete.
89 int maxIterations) throws MathException
91 return regularizedBeta(x, a, b, DEFAULT_EPSILON, maxIterations);
113 * @param maxIterations Maximum number of "iterations" to complete.
118 final double b, double epsilon, int maxIterations) throws MathException
127 ret = 1.0 - regularizedBeta(1.0 - x, b, a, epsilon, maxIterations);
153 FastMath.log(a) - logBeta(a, b, epsilon, maxIterations)) *
154 1.0 / fraction.evaluate(x, epsilon, maxIterations);
185 * @param maxIterations Maximum number of "iterations" to complete.
189 int maxIterations) {
    [all...]
Gamma.java 154 * @param maxIterations Maximum number of "iterations" to complete.
161 int maxIterations)
173 ret = 1.0 - regularizedGammaQ(a, x, epsilon, maxIterations);
179 while (FastMath.abs(an/sum) > epsilon && n < maxIterations && sum < Double.POSITIVE_INFINITY) {
187 if (n >= maxIterations) {
188 throw new MaxIterationsExceededException(maxIterations);
231 * @param maxIterations Maximum number of "iterations" to complete.
238 int maxIterations)
250 ret = 1.0 - regularizedGammaP(a, x, epsilon, maxIterations);
266 ret = 1.0 / cf.evaluate(x, epsilon, maxIterations);
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
MultiStartDifferentiableMultivariateRealOptimizer.java 47 private int maxIterations;
127 public void setMaxIterations(int maxIterations) {
128 this.maxIterations = maxIterations;
133 return maxIterations;
186 optimizer.setMaxIterations(maxIterations - totalIterations);
MultiStartMultivariateRealOptimizer.java 47 private int maxIterations;
122 public void setMaxIterations(int maxIterations) {
123 this.maxIterations = maxIterations;
128 return maxIterations;
175 optimizer.setMaxIterations(maxIterations - totalIterations);
DifferentiableMultivariateRealOptimizer.java 38 * @param maxIterations maximal number of function calls
40 void setMaxIterations(int maxIterations);
DifferentiableMultivariateVectorialOptimizer.java 36 * @param maxIterations maximal number of function calls
39 void setMaxIterations(int maxIterations);
MultivariateRealOptimizer.java 36 * @param maxIterations maximal number of algorithm iterations
38 void setMaxIterations(int maxIterations);
MultiStartDifferentiableMultivariateVectorialOptimizer.java 50 private int maxIterations;
131 public void setMaxIterations(int maxIterations) {
132 this.maxIterations = maxIterations;
137 return maxIterations;
190 optimizer.setMaxIterations(maxIterations - totalIterations);
MultiStartUnivariateRealOptimizer.java 48 private int maxIterations;
113 return maxIterations;
153 this.maxIterations = count;
240 optimizer.setMaximalIterationCount(maxIterations - totalIterations);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/util/
ContinuedFraction.java 92 * @param maxIterations maximum number of convergents
96 public double evaluate(double x, int maxIterations) throws MathException {
97 return evaluate(x, DEFAULT_EPSILON, maxIterations);
122 * @param maxIterations maximum number of convergents
126 public double evaluate(double x, double epsilon, int maxIterations)
136 while (n < maxIterations && relativeError > epsilon) {
200 if (n >= maxIterations) {
201 throw new MaxIterationsExceededException(maxIterations,
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/
BracketFinder.java 46 private final int maxIterations;
92 * @param maxIterations Maximum number of iterations allowed for finding
96 int maxIterations) {
100 if (maxIterations <= 0) {
101 throw new NotStrictlyPositiveException(maxIterations);
105 this.maxIterations = maxIterations;
145 if (++iterations > maxIterations) {
146 throw new MaxIterationsExceededException(maxIterations);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
DirectSearchOptimizer.java 101 private int maxIterations;
217 public void setMaxIterations(int maxIterations) {
218 this.maxIterations = maxIterations;
223 return maxIterations;
317 if (++iterations > maxIterations) {
318 throw new OptimizationException(new MaxIterationsExceededException(maxIterations));
  /external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
XLocaleDistanceTest.java 70 final int maxIterations = 10000;
72 for (int iterations = maxIterations; iterations > 0; --iterations) {
104 logln("\tlikelyTime:\t" + likelyTime / maxIterations);
105 logln("\toldTime-likelyTime:\t" + oldTimeMinusLikely / maxIterations);
106 logln("totalOld:\t" + oldTime / maxIterations);
107 logln("\tnewLikelyTime:\t" + newLikelyTime / maxIterations);
108 logln("totalNew:\t" + newTime / maxIterations);
110 //logln("\tnewIntTime-newLikelyTime-extractTime:\t" + intTime/maxIterations);
111 //logln("totalInt:\t" + (intTime)/maxIterations);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
XLocaleDistanceTest.java 79 final int maxIterations = 1000;
81 for (int iterations = maxIterations; iterations > 0; --iterations) {
113 logln("\tlikelyTime:\t" + likelyTime/maxIterations);
114 logln("\toldTime-likelyTime:\t" + oldTimeMinusLikely/maxIterations);
115 logln("totalOld:\t" + oldTime/maxIterations);
116 logln("\tnewLikelyTime:\t" + newLikelyTime/maxIterations);
117 logln("totalNew:\t" + newTime/maxIterations);
119 //logln("\tnewIntTime-newLikelyTime-extractTime:\t" + intTime/maxIterations);
120 //logln("totalInt:\t" + (intTime)/maxIterations);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
XLocaleDistanceTest.java 76 final int maxIterations = 1000;
78 for (int iterations = maxIterations; iterations > 0; --iterations) {
110 logln("\tlikelyTime:\t" + likelyTime/maxIterations);
111 logln("\toldTime-likelyTime:\t" + oldTimeMinusLikely/maxIterations);
112 logln("totalOld:\t" + oldTime/maxIterations);
113 logln("\tnewLikelyTime:\t" + newLikelyTime/maxIterations);
114 logln("totalNew:\t" + newTime/maxIterations);
116 //logln("\tnewIntTime-newLikelyTime-extractTime:\t" + intTime/maxIterations);
117 //logln("totalInt:\t" + (intTime)/maxIterations);
  /external/aac/libAACenc/src/
qc_data.h 162 INT maxIterations; /* Maximum number of allowed iterations before
282 INT maxIterations; /* Maximum number of allowed iterations before
  /external/eigen/Eigen/src/IterativeLinearSolvers/
LeastSquareConjugateGradient.h 187 m_iterations = Base::maxIterations();
192 m_iterations = Base::maxIterations();

Completed in 1057 milliseconds

1 2