194195196197198199200201
n = Math.max((int) (ratio * n), n + 1); oldt = t; } throw new MaxIterationsExceededException(maximalIterationCount); }
125126127128129130131132133134
x0 = x1; ++i; } throw new MaxIterationsExceededException(maximalIterationCount); } catch (ClassCastException cce) { throw MathRuntimeException.createIllegalArgumentException("function is not differentiable"); } }
92939495969798
} } olds = s; oldt = t; } throw new MaxIterationsExceededException(maximalIterationCount); }
135136137138139140141142
* of iterations is exceeded */ protected void incrementIterationsCounter() throws OptimizationException { if (++iterations > maxIterations) { throw new OptimizationException(new MaxIterationsExceededException(maxIterations)); } }
343344345346347348349
delta = x1 - x0; oldDelta = delta; } i++; } throw new MaxIterationsExceededException(maximalIterationCount); }
101102103104105106107
return result; } } olds = s; } throw new MaxIterationsExceededException(maximalIterationCount); }
176177178179180181182
y2 = y0; } oldDelta = x2 - x1; i++; } throw new MaxIterationsExceededException(maximalIterationCount); }
123124125126127128129
return result; } } oldt = t; } throw new MaxIterationsExceededException(maximalIterationCount); }
195196197198199200201202203204205
q0 = q1; q1 = q2; } if (n >= maxIterations) { throw new MaxIterationsExceededException(maxIterations, "Continued fraction convergents failed to converge for value {0}", x); } return c;
102103104105106107108
return m; } ++i; } throw new MaxIterationsExceededException(maximalIterationCount); }