类 BaseSecantSolverAbstractTest

java.lang.Object
org.hipparchus.analysis.solvers.BaseSecantSolverAbstractTest
直接已知子类:
BracketingNthOrderBrentSolverTest, IllinoisSolverTest, PegasusSolverTest, RegulaFalsiSolverTest, SecantSolverTest

public abstract class BaseSecantSolverAbstractTest extends Object
基类,用于从BaseSecantSolver派生的根查找算法测试。
  • 构造器详细资料

    • BaseSecantSolverAbstractTest

      public BaseSecantSolverAbstractTest()
  • 方法详细资料

    • getSolver

      protected abstract UnivariateSolver getSolver()
      返回要用于执行测试的求解器。
      返回:
      要用于执行测试的求解器
    • getQuinticEvalCounts

      protected abstract int[] getQuinticEvalCounts()
      返回testQuinticZero()单元测试的预期评估次数。值为-1表示应跳过该求解器的测试。
      返回:
      testQuinticZero()单元测试的预期评估次数
    • testSinZero

      public void testSinZero()
    • testQuinticZero

      public void testQuinticZero()
    • testRootEndpoints

      public void testRootEndpoints()
    • testCloseEndpoints

      public void testCloseEndpoints()
    • testBadEndpoints

      public void testBadEndpoints()
    • testSolutionLeftSide

      public void testSolutionLeftSide()
    • testSolutionRightSide

      public void testSolutionRightSide()
    • testSolutionBelowSide

      public void testSolutionBelowSide()
    • testSolutionAboveSide

      public void testSolutionAboveSide()
    • checktype

      protected void checktype(UnivariateSolver solver, BaseSecantSolver.Method expected)