T - the type of the field elementspublic class FieldODEState<T extends RealFieldElement<T>>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private T[][] |
secondaryState
Secondary state at time.
|
private T[] |
state
Main state at time.
|
private T |
time
Time.
|
| 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.
|
private final T extends RealFieldElement<T> time
private final T extends RealFieldElement<T>[] state
private final T extends RealFieldElement<T>[][] secondaryState
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 (c) 2003-2017 Apache Software Foundation