类 BaseSecantSolverAbstractTest
java.lang.Object
org.hipparchus.analysis.solvers.BaseSecantSolverAbstractTest
- 直接已知子类:
-
BracketingNthOrderBrentSolverTest
,IllinoisSolverTest
,PegasusSolverTest
,RegulaFalsiSolverTest
,SecantSolverTest
基类,用于从
BaseSecantSolver
派生的根查找算法测试。
-
构造器概要
-
方法概要
修饰符和类型方法说明protected void
checktype
(UnivariateSolver solver, BaseSecantSolver.Method expected) protected abstract int[]
返回testQuinticZero()
单元测试的预期评估次数。protected abstract UnivariateSolver
返回用于执行测试的求解器。void
void
void
void
void
void
void
void
void
-
构造器详细资料
-
BaseSecantSolverAbstractTest
public BaseSecantSolverAbstractTest()
-
-
方法详细资料
-
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
-