org.apache.commons.math3.analysis.solvers

extends Object
Test case for Ridders solver.

Ridders' method converges superlinearly, more specific, its rate of convergence is sqrt(2). Test runs show that for a default absolute accuracy of 1E-6, it generally takes less than 5 iterations for close initial bracket and 5 to 10 iterations for distant initial bracket to converge.

Version:
$Id: RiddersSolverTest.java 1374632 2012-08-18 18:11:11Z luc$

• ### Method Detail

• #### testSinFunction

public void testSinFunction()
Test of solver for the sine function.
• #### testQuinticFunction

public void testQuinticFunction()
Test of solver for the quintic function.
• #### testExpm1Function

public void testExpm1Function()
Test of solver for the exponential function.
• #### testParameters

public void testParameters()
Test of parameters for the solver.