Click or drag to resize

ScalarSumGetEvaluator Method (EvaluatorGroup)

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

In an effort to avoid excessively large call stacks the resulting evaluator will recursively collapse any child scalar that is also a ScalarSum 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.1.418.0 (24.1.418.0)
Syntax
public override ScalarEvaluator 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: ScalarEvaluator
An evaluator for this scalar.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when group is .
PropertyInvalidException Thrown if ScalarsToAdd contains zero items of if any of the items is or is set to its owner.
See Also