MatrixStateElementConverterAdjustStateWithTypeT Method (Double, MotionT) |
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 override bool AdjustStateWithType<T>(
double[] overallRawState,
Motion<T> newStateElement
)
Public Overrides 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
) override
abstract AdjustStateWithType :
overallRawState : float[] *
newStateElement : Motion<'T> -> bool
override 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.
Exceptions
See Also