T - the type of the field elementspublic class FieldODEState<T extends RealFieldElement<T>> extends Object
| Constructor and Description |
|---|
FieldODEState(T time,
T[] state)
Simple constructor.
|
FieldODEState(T time,
T[] state,
T[][] secondaryState)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected T[][] |
copy(Field<T> field,
T[][] original)
Copy a two-dimensions array.
|
int |
getNumberOfSecondaryStates()
Get the number of secondary states.
|
T[] |
getSecondaryState(int index)
Get secondary state at time.
|
int |
getSecondaryStateDimension(int index)
Get secondary state dimension.
|
T[] |
getState()
Get main state at time.
|
int |
getStateDimension()
Get main state dimension.
|
T |
getTime()
Get time.
|
public FieldODEState(T time, T[] state)
Calling this constructor is equivalent to call FieldODEState(time, state, null).
time - timestate - state at timeprotected T[][] copy(Field<T> field, T[][] original)
field - field to which elements belongoriginal - original array (may be null)public T getTime()
public int getStateDimension()
public T[] getState()
public int getNumberOfSecondaryStates()
public int getSecondaryStateDimension(int index)
index - index of the secondary set as returned
by FieldExpandableODE.addSecondaryEquations(FieldSecondaryEquations)
(beware index 0 corresponds to main state, additional states start at 1)public T[] getSecondaryState(int index)
index - index of the secondary set as returned
by FieldExpandableODE.addSecondaryEquations(FieldSecondaryEquations)
(beware index 0 corresponds to main state, additional states start at 1)Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.