Interface ODEWithJacobians
- All Superinterfaces:
FirstOrderDifferentialEquations
Deprecated.
as of 2.2 the complete package is deprecated, it will be replaced
in 3.0 by a completely rewritten implementation
This interface represents
first order differential equations with parameters and partial derivatives.- Since:
- 2.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeJacobians(double t, double[] y, double[] yDot, double[][] dFdY, double[][] dFdP) Deprecated.Compute the partial derivatives of ODE with respect to state.intDeprecated.Get the number of parameters.Methods inherited from interface org.apache.commons.math.ode.FirstOrderDifferentialEquations
computeDerivatives, getDimension
-
Method Details
-
getParametersDimension
int getParametersDimension()Deprecated.Get the number of parameters.- Returns:
- number of parameters
-
computeJacobians
void computeJacobians(double t, double[] y, double[] yDot, double[][] dFdY, double[][] dFdP) throws DerivativeException Deprecated.Compute the partial derivatives of ODE with respect to state.- Parameters:
t- current value of the independent time variabley- array containing the current value of the state vectoryDot- array containing the current value of the time derivative of the state vectordFdY- placeholder array where to put the jacobian of the ODE with respect to the state vectordFdP- placeholder array where to put the jacobian of the ODE with respect to the parameters- Throws:
DerivativeException- this exception is propagated to the caller if the underlying user function triggers one
-