org.apache.commons.math3.ode
private class MultistepIntegrator.CountingDifferentialEquations extends java.lang.Object implements FirstOrderDifferentialEquations
Modifier and Type | Field and Description |
---|---|
private int |
dimension
Dimension of the problem.
|
Constructor and Description |
---|
MultistepIntegrator.CountingDifferentialEquations(int dimension)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public MultistepIntegrator.CountingDifferentialEquations(int dimension)
dimension
- dimension of the problempublic 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 vectorMaxCountExceededException
- if the number of functions evaluations is exceededDimensionMismatchException
- if arrays dimensions do not match equations settingspublic int getDimension()
getDimension
in interface FirstOrderDifferentialEquations
Copyright (c) 2003-2013 Apache Software Foundation