T
- the type of the field elementspublic class FieldODEStateAndDerivative<T extends RealFieldElement<T>> extends FieldODEState<T>
Constructor | Description |
---|---|
FieldODEStateAndDerivative(T time,
T[] primaryState,
T[] primaryDerivative) |
Simple constructor.
|
FieldODEStateAndDerivative(T time,
T[] primaryState,
T[] primaryDerivative,
T[][] secondaryState,
T[][] secondaryDerivative) |
Simple constructor.
|
Modifier and Type | Method | Description |
---|---|---|
T[] |
getCompleteDerivative() |
Get complete derivative at time.
|
T[] |
getPrimaryDerivative() |
Get derivative of the primary state at time.
|
T[] |
getSecondaryDerivative(int index) |
Get derivative of the secondary state at time.
|
copy, getCompleteState, getCompleteStateDimension, getNumberOfSecondaryStates, getPrimaryState, getPrimaryStateDimension, getSecondaryState, getSecondaryStateDimension, getState, getStateDimension, getTime
public FieldODEStateAndDerivative(T time, T[] primaryState, T[] primaryDerivative)
Calling this constructor is equivalent to call FieldODEStateAndDerivative(time, state,
derivative, null, null)
.
time
- timeprimaryState
- primary state at timeprimaryDerivative
- derivative of the primary state at timepublic FieldODEStateAndDerivative(T time, T[] primaryState, T[] primaryDerivative, T[][] secondaryState, T[][] 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 T[] getPrimaryDerivative()
getSecondaryDerivative(int)
,
getCompleteDerivative()
public T[] getSecondaryDerivative(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)getPrimaryDerivative()
,
getCompleteDerivative()
public T[] getCompleteDerivative()
primary derivative
, followed
by all secondary derivatives
in
increasing index ordergetPrimaryDerivative()
,
getSecondaryDerivative(int)
Copyright © 2016–2018 Hipparchus.org. All rights reserved.