Click or drag to resize

StateTransitionMatrix.IndexOfStateParameter 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: 25.1.421.0 (25.1.421.0)
Syntax
public int IndexOfStateParameter(
	IPartialDifferentiable stateParameter
)

Parameters

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

Return Value

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