PropagationStateConverterGetElementFromState Method |
Produces this state element's values and their derivatives from the overall raw state.
Namespace:
AGI.Foundation.Propagators
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public Motion<double[]> GetElementFromState(
string elementID,
double[] overallState
)
Public Function GetElementFromState (
elementID As String,
overallState As Double()
) As Motion(Of Double())
public:
Motion<array<double>^> GetElementFromState(
String^ elementID,
array<double>^ overallState
)
member GetElementFromState :
elementID : string *
overallState : float[] -> Motion<float[]>
Parameters
- elementID
- Type: SystemString
The string identifying which propagation state element to use when converting the raw state.
(AuxiliaryStateElementConverter does not output its element as a Motion
of double arrays, so auxiliary state element IDs are not supported.
Use ConvertStateT(String, Double) instead.) - overallState
- Type: SystemDouble
The overall raw state from which to produce this element's array.
Return Value
Type:
MotionDoubleA representation of the values of the requested state element as arrays corresponding to the
representation of the element.
See Also