| Testcase for UnivariateRealSolver.
Because Brent-Dekker is guaranteed to converge in less than the default
maximum iteration count due to bisection fallback, it is quite hard to
debug. I include measured iteration counts plus one in order to detect
regressions. On average Brent-Dekker should use 4..5 iterations for the
default absolute accuracy of 10E-8 for sinus and the quintic function around
zero, and 5..10 iterations for the other zeros.
version: $Revision: 179958 $ $Date: 2005-06-03 22:36:42 -0700 (Fri, 03 Jun 2005) $ |