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

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

public final class BracketingNthOrderBrentSolverTest
extends BaseSecantSolverAbstractTest

Test case for bracketing nth order Brent solver.

Version:
$Id: BracketingNthOrderBrentSolverTest.java 1383441 2012-09-11 14:56:39Z luc $

Constructor Summary
BracketingNthOrderBrentSolverTest()
           
 
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.
 void testConstructorsOK()
           
 void testConvergenceOnFunctionAccuracy()
           
 void testFasterThanNewton()
           
 void testInsufficientOrder1()
           
 void testInsufficientOrder2()
           
 void testInsufficientOrder3()
           
 void testIssue716()
           
 
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

BracketingNthOrderBrentSolverTest

public BracketingNthOrderBrentSolverTest()
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

testInsufficientOrder1

public void testInsufficientOrder1()

testInsufficientOrder2

public void testInsufficientOrder2()

testInsufficientOrder3

public void testInsufficientOrder3()

testConstructorsOK

public void testConstructorsOK()

testConvergenceOnFunctionAccuracy

public void testConvergenceOnFunctionAccuracy()

testIssue716

public void testIssue716()

testFasterThanNewton

public void testFasterThanNewton()


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