PropagationStateElementConverterAdjustStateWithTypeT Method |
Adjust the subset of the raw state corresponding to this element to new values.
Namespace:
AGI.Foundation.Propagators.Advanced
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 23.2.417.0 (23.2.417.0)
Syntaxpublic abstract bool AdjustStateWithType<T>(
double[] overallRawState,
Motion<T> newStateElement
)
Public MustOverride Function AdjustStateWithType(Of T) (
overallRawState As Double(),
newStateElement As Motion(Of T)
) As Boolean
public:
generic<typename T>
virtual bool AdjustStateWithType(
array<double>^ overallRawState,
Motion<T> newStateElement
) abstract
abstract AdjustStateWithType :
overallRawState : float[] *
newStateElement : Motion<'T> -> bool
Parameters
- overallRawState
- Type: SystemDouble
The overall raw state to adjust. - newStateElement
- Type: AGI.FoundationMotionT
The new values and derivatives for the requested element.
Type Parameters
- T
- The type corresponding to the TypeOfOutput of
this element.
Return Value
Type:
BooleanTrue if the update was successful. Otherwise, if the specified new element values did
not contain enough derivatives or there was some other problem completing the update, this returns false.
See Also