|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.ode.sampling.StepNormalizerOutputTestBase
public abstract class StepNormalizerOutputTestBase
Base class for step normalizer output tests.
| Constructor Summary | |
|---|---|
StepNormalizerOutputTestBase()
|
|
| Method Summary | |
|---|---|
void |
computeDerivatives(double t,
double[] y,
double[] yDot)
|
int |
getDimension()
|
protected abstract double |
getEnd()
Returns the end time. |
protected abstract double[] |
getExpInc()
Returns the expected normalized output time values for increment mode. |
protected abstract double[] |
getExpIncRev()
Returns the expected reversed normalized output time values for increment mode. |
protected abstract double[] |
getExpMul()
Returns the expected normalized output time values for multiples mode. |
protected abstract double[] |
getExpMulRev()
Returns the expected reversed normalized output time values for multiples mode. |
protected abstract int[][] |
getO()
Returns the offsets for the unit tests below, in the order they are given below. |
protected abstract double |
getStart()
Returns the start time. |
void |
handleStep(double t,
double[] y,
double[] yDot,
boolean isLast)
|
void |
init(double t0,
double[] y0,
double t)
|
void |
testIncBoth()
|
void |
testIncBothRev()
|
void |
testIncFirst()
|
void |
testIncFirstRev()
|
void |
testIncLast()
|
void |
testIncLastRev()
|
void |
testIncNeither()
|
void |
testIncNeitherRev()
|
void |
testMulBoth()
|
void |
testMulBothRev()
|
void |
testMulFirst()
|
void |
testMulFirstRev()
|
void |
testMulLast()
|
void |
testMulLastRev()
|
void |
testMulNeither()
|
void |
testMulNeitherRev()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StepNormalizerOutputTestBase()
| Method Detail |
|---|
protected abstract double getStart()
protected abstract double getEnd()
protected abstract double[] getExpInc()
protected abstract double[] getExpIncRev()
protected abstract double[] getExpMul()
protected abstract double[] getExpMulRev()
protected abstract int[][] getO()
public void testIncNeither()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testIncNeitherRev()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testIncFirst()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testIncFirstRev()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testIncLast()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testIncLastRev()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testIncBoth()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testIncBothRev()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testMulNeither()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testMulNeitherRev()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testMulFirst()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testMulFirstRev()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testMulLast()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testMulLastRev()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testMulBoth()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingException
public void testMulBothRev()
throws DimensionMismatchException,
NumberIsTooSmallException,
MaxCountExceededException,
NoBracketingException
DimensionMismatchException
NumberIsTooSmallException
MaxCountExceededException
NoBracketingExceptionpublic int getDimension()
getDimension in interface FirstOrderDifferentialEquations
public void computeDerivatives(double t,
double[] y,
double[] yDot)
computeDerivatives in interface FirstOrderDifferentialEquations
public void init(double t0,
double[] y0,
double t)
init in interface FixedStepHandler
public void handleStep(double t,
double[] y,
double[] yDot,
boolean isLast)
handleStep in interface FixedStepHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||