Click or drag to resize

FunctionTIndependent, TDependent, TDependentDerivativeEvaluate Method (TIndependent, Int32)

Evaluates the function.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public abstract Motion<TDependent, TDependentDerivative> Evaluate(
	TIndependent x,
	int order
)

Parameters

x
Type: TIndependent
The value with which to evaluate the function.
order
Type: SystemInt32
The target order to evaluate. Passing 0 evaluates the value only. Passing 1 evaluates the value and its derivative, etc. If necessary a result of lower or even higher order than the target may be returned.

Return Value

Type: MotionTDependent, TDependentDerivative
The value of the function and additional requested derivatives, if possible. If necessary a lower or even higher order result may be returned.
Remarks

For information about the specific function evaluated by this evaluator, see the documentation for the method that was used to create this evaluator.

Once created, an evaluator will ignore changes made to the object(s) from which it was created. In other words, this method will always return the same result for a given x regardless of changes made to other objects in the system. You should create a new evaluator after making changes to definitional objects in order for those changes to be reflected in the results.

See Also