Click or drag to resize

VectorSumGetEvaluator Method (EvaluatorGroup)

Gets an evaluator that can be used to find the sum of the vectors, including derivatives up to the requested order.

In an effort to avoid excessively large call stacks the resulting evaluator will recursively collapse any child vector that is also a VectorSum into the parent evaluator. For example, (a + (b + c)) will become (a + b + c).

Namespace:  AGI.Foundation.Geometry
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public override VectorEvaluator GetEvaluator(
	EvaluatorGroup group
)

Parameters

group
Type: AGI.FoundationEvaluatorGroup
The group with which to associate the new evaluator. By grouping evaluators that are often evaluated at the same Julian dates, common computations can be performed only once for the entire group instead of multiple times for each evaluator.

Return Value

Type: VectorEvaluator
An evaluator for this vector.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when group is .
PropertyInvalidException Thrown if any vectors in VectorsToAdd are not initialized, or if 'this' vector exists in VectorsToAdd.
See Also