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: 23.2.417.0 (23.2.417.0)
public int IndexOfStateParameter(
	IPartialDifferentiable 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