Click or drag to resize

StateTransitionMatrixIndexOfStateParameter Method

Searches for the specified stateParameter and returns the index which can be used to access it via GetStateParameter(Int32) or RemoveStateParameterAt(Int32).

Namespace:  AGI.Foundation.Propagators
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public int IndexOfStateParameter(
	IPartialDifferentiable stateParameter
)

Parameters

stateParameter
Type: AGI.Foundation.NumericalMethods.AdvancedIPartialDifferentiable
The state parameter to search for.

Return Value

Type: Int32
The index of the stateParameter if found; otherwise -1.
See Also