Aggregator<T, U>.TryGetAccumulator Method

Attempts to get an accumulator with the specified capability.

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public virtual bool TryGetAccumulator(
	bool canRemove,
	out IAccumulator<T, U> accumulator
)

Parameters

canRemove  Boolean
Indicates whether entries can be removed from the accumulator.
accumulator  IAccumulator<T, U>
The accumulator object that is to hold the result.

Return Value

Boolean
true if the accumulator could be found; otherwise false.

See Also