|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.ode.jacobians.FirstOrderIntegratorWithJacobians.MappingWrapper
private class FirstOrderIntegratorWithJacobians.MappingWrapper
Wrapper class used to map state and jacobians into compound state.
Field Summary | |
---|---|
private double[][] |
dFdP
Derivatives of yDot with respect to parameters. |
private double[][] |
dFdY
Derivatives of yDot with respect to state. |
private double[] |
y
Current state. |
private double[] |
yDot
Time derivative of the current state. |
Constructor Summary | |
---|---|
FirstOrderIntegratorWithJacobians.MappingWrapper()
Simple constructor. |
Method Summary | |
---|---|
void |
computeDerivatives(double t,
double[] z,
double[] zDot)
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 double[] y
private final double[] yDot
private final double[][] dFdY
private final double[][] dFdP
Constructor Detail |
---|
public FirstOrderIntegratorWithJacobians.MappingWrapper()
Method Detail |
---|
public int getDimension()
getDimension
in interface FirstOrderDifferentialEquations
public void computeDerivatives(double t, double[] z, double[] zDot) throws DerivativeException
computeDerivatives
in interface FirstOrderDifferentialEquations
t
- current value of the independent time variablez
- array containing the current value of the state vectorzDot
- placeholder array where to put the time derivative of the state vector
DerivativeException
- this exception is propagated to the caller if the
underlying user function triggers one
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |