T
- the type of the field elementspublic class FieldODEState<T extends RealFieldElement<T>> extends Object
Constructor and Description |
---|
FieldODEState(T time,
T[] primaryState)
Simple constructor.
|
FieldODEState(T time,
T[] primaryState,
T[][] secondaryState)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
protected T[][] |
copy(T[][] original)
Copy a two-dimensions array.
|
T[] |
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.
|
T[] |
getPrimaryState()
Get primary state at time.
|
int |
getPrimaryStateDimension()
Get primary state dimension.
|
T[] |
getSecondaryState(int index)
Get secondary state at time.
|
int |
getSecondaryStateDimension(int index)
Get secondary state dimension.
|
T[] |
getState()
Deprecated.
as of 1.0, replaced with
getPrimaryState() |
int |
getStateDimension()
Deprecated.
as of 1.0, replaced with
getPrimaryStateDimension() |
T |
getTime()
Get time.
|
public FieldODEState(T time, T[] primaryState)
Calling this constructor is equivalent to call FieldODEState(time, state, null)
.
time
- timeprimaryState
- primary state at timeprotected T[][] copy(T[][] original)
original
- original array (may be null)public T getTime()
@Deprecated public int getStateDimension()
getPrimaryStateDimension()
public int getPrimaryStateDimension()
getSecondaryStateDimension(int)
,
getCompleteStateDimension()
@Deprecated public T[] getState()
getPrimaryState()
public T[] getPrimaryState()
getSecondaryState(int)
,
getCompleteState()
public int getNumberOfSecondaryStates()
public int getSecondaryStateDimension(int index)
index
- index of the secondary set as returned
by FieldExpandableODE.addSecondaryEquations(FieldSecondaryODE)
(beware index 0 corresponds to primary state, secondary states start at 1)public T[] getSecondaryState(int index)
index
- index of the secondary set as returned
by FieldExpandableODE.addSecondaryEquations(FieldSecondaryODE)
(beware index 0 corresponds to primary state, secondary states start at 1)public int getCompleteStateDimension()
The complete set of equations correspond to the primary set plus all secondary sets.
public T[] getCompleteState()
primary state
, followed
by all secondary states
in
increasing index ordergetPrimaryState()
,
getSecondaryState(int)
Copyright © 2016–2017 Hipparchus.org. All rights reserved.