org.apache.commons.math3.analysis.solvers
Class BaseSecantSolverAbstractTest
java.lang.Object
org.apache.commons.math3.analysis.solvers.BaseSecantSolverAbstractTest
- Direct Known Subclasses:
- BracketingNthOrderBrentSolverTest, IllinoisSolverTest, PegasusSolverTest, RegulaFalsiSolverTest, SecantSolverTest
public abstract class BaseSecantSolverAbstractTest
- extends Object
Base class for root-finding algorithms tests derived from
BaseSecantSolver.
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseSecantSolverAbstractTest
public BaseSecantSolverAbstractTest()
getSolver
protected abstract UnivariateSolver getSolver()
- Returns the solver to use to perform the tests.
- Returns:
- the solver to use to perform the tests
getQuinticEvalCounts
protected abstract int[] getQuinticEvalCounts()
- Returns the expected number of evaluations for the
testQuinticZero() unit test. A value of -1 indicates that
the test should be skipped for that solver.
- Returns:
- the expected number of evaluations for the
testQuinticZero() unit test
testSinZero
public void testSinZero()
testQuinticZero
public void testQuinticZero()
testRootEndpoints
public void testRootEndpoints()
testBadEndpoints
public void testBadEndpoints()
testSolutionLeftSide
public void testSolutionLeftSide()
testSolutionRightSide
public void testSolutionRightSide()
testSolutionBelowSide
public void testSolutionBelowSide()
testSolutionAboveSide
public void testSolutionAboveSide()
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.