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