Package org.apache.commons.math3.ode
Class JacobianMatrices.JacobiansSecondaryEquations
- java.lang.Object
-
- org.apache.commons.math3.ode.JacobianMatrices.JacobiansSecondaryEquations
-
- All Implemented Interfaces:
SecondaryEquations
- Enclosing class:
- JacobianMatrices
private class JacobianMatrices.JacobiansSecondaryEquations extends java.lang.Object implements SecondaryEquations
Local implementation of secondary equations.This class is an inner class to ensure proper scheduling of calls by forcing the use of
JacobianMatrices.registerVariationalEquations(ExpandableStatefulODE).
-
-
Constructor Summary
Constructors Modifier Constructor Description privateJacobiansSecondaryEquations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomputeDerivatives(double t, double[] y, double[] yDot, double[] z, double[] zDot)Compute the derivatives related to the secondary state parameters.intgetDimension()Get the dimension of the secondary state parameters.
-
-
-
Method Detail
-
getDimension
public int getDimension()
Get the dimension of the secondary state parameters.- Specified by:
getDimensionin interfaceSecondaryEquations- Returns:
- dimension of the secondary state parameters
-
computeDerivatives
public void computeDerivatives(double t, double[] y, double[] yDot, double[] z, double[] zDot) throws MaxCountExceededException, DimensionMismatchExceptionCompute the derivatives related to the secondary state parameters.- Specified by:
computeDerivativesin interfaceSecondaryEquations- Parameters:
t- current value of the independent time variabley- array containing the current value of the primary state vectoryDot- array containing the derivative of the primary state vectorz- array containing the current value of the secondary state vectorzDot- placeholder array where to put the derivative of the secondary state vector- Throws:
MaxCountExceededException- if the number of functions evaluations is exceededDimensionMismatchException- if arrays dimensions do not match equations settings
-
-