public class ODEState extends Object implements Serializable
| Constructor and Description | 
|---|
| ODEState(double time,
        double[] primaryState)Simple constructor. | 
| ODEState(double time,
        double[] primaryState,
        double[][] secondaryState)Simple constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected double[][] | copy(double[][] original)Copy a two-dimensions array. | 
| double[] | getCompleteState()Get complete state at time. | 
| int | getCompleteStateDimension()Return the dimension of the complete set of equations. | 
| int | getNumberOfSecondaryStates()Get the number of secondary states. | 
| double[] | getPrimaryState()Get primary state at time. | 
| int | getPrimaryStateDimension()Get primary state dimension. | 
| double[] | getSecondaryState(int index)Get secondary state at time. | 
| int | getSecondaryStateDimension(int index)Get secondary state dimension. | 
| double | getTime()Get time. | 
public ODEState(double time,
                double[] primaryState)
Calling this constructor is equivalent to call ODEState(time, state, null).
time - timeprimaryState - primary state at timepublic ODEState(double time,
                double[] primaryState,
                double[][] secondaryState)
time - timeprimaryState - state at timesecondaryState - primary state at time (may be null)protected double[][] copy(double[][] original)
original - original array (may be null)public double getTime()
public int getPrimaryStateDimension()
getSecondaryStateDimension(int), 
getCompleteStateDimension()public double[] getPrimaryState()
getSecondaryState(int), 
getCompleteState()public int getNumberOfSecondaryStates()
public int getSecondaryStateDimension(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)getPrimaryStateDimension(), 
getCompleteStateDimension()public double[] getSecondaryState(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)getPrimaryState(), 
getCompleteState()public int getCompleteStateDimension()
The complete set of equations correspond to the primary set plus all secondary sets.
getPrimaryStateDimension(), 
getSecondaryStateDimension(int)public double[] getCompleteState()
primary state, followed
 by all secondary states in
 increasing index ordergetPrimaryState(), 
getSecondaryState(int)Copyright © 2016–2020 Hipparchus.org. All rights reserved.