AccumulatingAggregator<T, TResult, TAccumulator>.TryGetAccumulator Method

Attempts to get an accumulator with the specified capability.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public override bool TryGetAccumulator(
	bool canRemove,
	out IAccumulator<T, TResult> accumulator
)

Parameters

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

Return Value

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

See Also