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

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

public final class PegasusSolverTest
extends BaseSecantSolverAbstractTest

Test case for Pegasus solver.

Version:
$Id$

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

PegasusSolverTest

public PegasusSolverTest()
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.