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

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

public final class RegulaFalsiSolverTest
extends BaseSecantSolverAbstractTest

Test case for Regula Falsi solver.

Version:
$Id$

Constructor Summary
RegulaFalsiSolverTest()
           
 
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 testIssue631()
           
 
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

RegulaFalsiSolverTest

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

testIssue631

public void testIssue631()


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