|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.analysis.solvers.MullerSolver2Test
public final class MullerSolver2Test
Test case for Muller solver.
Muller's method converges almost quadratically near roots, but it can be very slow in regions far away from zeros. Test runs show that for reasonably good initial values, for a default absolute accuracy of 1E-6, it generally takes 5 to 10 iterations for the solver to converge.
Tests for the exponential function illustrate the situations where Muller solver performs poorly.
| Constructor Summary | |
|---|---|
MullerSolver2Test()
|
|
| Method Summary | |
|---|---|
void |
testExpm1Function()
Test of solver for the exponential function. |
void |
testParameters()
Test of parameters for the solver. |
void |
testQuinticFunction()
Test of solver for the quintic function. |
void |
testSinFunction()
Test of solver for the sine function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MullerSolver2Test()
| Method Detail |
|---|
public void testSinFunction()
public void testQuinticFunction()
public void testExpm1Function()
It takes 25 to 50 iterations for the last two tests to converge.
public void testParameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||