Aggregator<T, U>.Try Get Accumulator 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#
true if the accumulator could be found; otherwise false.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
Booleantrue if the accumulator could be found; otherwise false.