PropagationStateConverter.GetElementFromState 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: 25.1.421.0 (25.1.421.0)
Syntaxpublic 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: System.String
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 ConvertState<T> (String,Double[]) instead.) - overallState
- Type:System.Double[]
The overall raw state from which to produce this element's array.
Return Value
Type:
Motion<Double[]>A representation of the values of the requested state element as arrays corresponding to the
representation of the element.
See Also