|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math3.ode.MultistepIntegrator.CountingDifferentialEquations
private class MultistepIntegrator.CountingDifferentialEquations
Wrapper for differential equations, ensuring start evaluations are counted.
Field Summary | |
---|---|
private int |
dimension
Dimension of the problem. |
Constructor Summary | |
---|---|
MultistepIntegrator.CountingDifferentialEquations(int dimension)
Simple constructor. |
Method Summary | |
---|---|
void |
computeDerivatives(double t,
double[] y,
double[] dot)
Get the current time derivative of the state vector. |
int |
getDimension()
Get the dimension of the problem. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final int dimension
Constructor Detail |
---|
public MultistepIntegrator.CountingDifferentialEquations(int dimension)
dimension
- dimension of the problemMethod Detail |
---|
public void computeDerivatives(double t, double[] y, double[] dot) throws MaxCountExceededException, DimensionMismatchException
computeDerivatives
in interface FirstOrderDifferentialEquations
t
- current value of the independent time variabley
- array containing the current value of the state vectordot
- placeholder array where to put the time derivative of the state vector
MaxCountExceededException
- if the number of functions evaluations is exceeded
DimensionMismatchException
- if arrays dimensions do not match equations settingspublic int getDimension()
getDimension
in interface FirstOrderDifferentialEquations
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |