org.apache.commons.math3.analysis.solvers
Class SecantSolverTest

java.lang.Object
  extended by org.apache.commons.math3.analysis.solvers.BaseSecantSolverAbstractTest
      extended by org.apache.commons.math3.analysis.solvers.SecantSolverTest

public final class SecantSolverTest
extends BaseSecantSolverAbstractTest

Test case for Secant solver.

Version:
$Id$

Constructor Summary
SecantSolverTest()
           
 
Method Summary
protected  int[] getQuinticEvalCounts()
          Returns the expected number of evaluations for the BaseSecantSolverAbstractTest.testQuinticZero() unit test.
protected  UnivariateSolver getSolver()
          Returns the solver to use to perform the tests.
 
Methods inherited from class org.apache.commons.math3.analysis.solvers.BaseSecantSolverAbstractTest
testBadEndpoints, testQuinticZero, testRootEndpoints, testSinZero, testSolutionAboveSide, testSolutionBelowSide, testSolutionLeftSide, testSolutionRightSide
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecantSolverTest

public SecantSolverTest()
Method Detail

getSolver

protected UnivariateSolver getSolver()
Returns the solver to use to perform the tests.

Specified by:
getSolver in class BaseSecantSolverAbstractTest
Returns:
the solver to use to perform the tests

getQuinticEvalCounts

protected int[] getQuinticEvalCounts()
Returns the expected number of evaluations for the BaseSecantSolverAbstractTest.testQuinticZero() unit test. A value of -1 indicates that the test should be skipped for that solver.

Specified by:
getQuinticEvalCounts in class BaseSecantSolverAbstractTest
Returns:
the expected number of evaluations for the BaseSecantSolverAbstractTest.testQuinticZero() unit test


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.