Serializablepublic class ODEStateAndDerivative extends ODEState
| Constructor | Description |
|---|---|
ODEStateAndDerivative(double time,
double[] primaryState,
double[] primaryDerivative) |
Simple constructor.
|
ODEStateAndDerivative(double time,
double[] primaryState,
double[] primaryDerivative,
double[][] secondaryState,
double[][] secondaryDerivative) |
Simple constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
double[] |
getCompleteDerivative() |
Get complete derivative at time.
|
double[] |
getPrimaryDerivative() |
Get derivative of the primary state at time.
|
double[] |
getSecondaryDerivative(int index) |
Get derivative of the secondary state at time.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopy, getCompleteState, getCompleteStateDimension, getNumberOfSecondaryStates, getPrimaryState, getPrimaryStateDimension, getSecondaryState, getSecondaryStateDimension, getTimepublic ODEStateAndDerivative(double time,
double[] primaryState,
double[] primaryDerivative)
Calling this constructor is equivalent to call ODEStateAndDerivative(time, state,
derivative, null, null).
time - timeprimaryState - primary state at timeprimaryDerivative - derivative of the primary state at timepublic ODEStateAndDerivative(double time,
double[] primaryState,
double[] primaryDerivative,
double[][] secondaryState,
double[][] secondaryDerivative)
time - timeprimaryState - primary state at timeprimaryDerivative - derivative of the primary state at timesecondaryState - state at time (may be null)secondaryDerivative - derivative of the state at time (may be null)public double[] getPrimaryDerivative()
getSecondaryDerivative(int),
getCompleteDerivative()public double[] getSecondaryDerivative(int index)
index - index of the secondary set as returned
by ExpandableODE.addSecondaryEquations(SecondaryODE)
(beware index 0 corresponds to primary state, secondary states start at 1)getPrimaryDerivative(),
getCompleteDerivative()public double[] getCompleteDerivative()
primary derivative, followed
by all secondary derivatives in
increasing index ordergetPrimaryDerivative(),
getSecondaryDerivative(int)Copyright © 2016–2018 Hipparchus.org. All rights reserved.