Attempts to get an accumulator that can be used to perform the aggregation.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public virtual bool TryGetAccumulator(
bool canRemove,
out IAccumulator2<T, U> accumulator
)
Public Overridable Function TryGetAccumulator (
canRemove As Boolean,
<OutAttribute> ByRef accumulator As IAccumulator2(Of T, U)
) As Boolean
public:
virtual bool TryGetAccumulator(
bool canRemove,
[OutAttribute] IAccumulator2<T, U>^% accumulator
)
abstract TryGetAccumulator :
canRemove : bool *
accumulator : IAccumulator2<'T, 'U> byref -> bool
override TryGetAccumulator :
canRemove : bool *
accumulator : IAccumulator2<'T, 'U> byref -> bool
Parameters
- canRemove
- Type: SystemBoolean
If , requires that
elements can be removed from as well as added to the accumulator. - accumulator
- Type: Extreme.DataAnalysisIAccumulator2T, U
On return, the requested accumulator object.
Return Value
Type:
Boolean if an accumulator with the specified behaviour
could be created; otherwise
.
Reference