Attempts to get an accumulator with the specified capability.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public virtual bool TryGetAccumulator(
bool canRemove,
out IAccumulator<T, U> accumulator
)
Public Overridable Function TryGetAccumulator (
canRemove As Boolean,
<OutAttribute> ByRef accumulator As IAccumulator(Of T, U)
) As Boolean
public:
virtual bool TryGetAccumulator(
bool canRemove,
[OutAttribute] IAccumulator<T, U>^% accumulator
)
abstract TryGetAccumulator :
canRemove : bool *
accumulator : IAccumulator<'T, 'U> byref -> bool
override TryGetAccumulator :
canRemove : bool *
accumulator : IAccumulator<'T, 'U> byref -> bool
Parameters
- canRemove
- Type: SystemBoolean
Indicates whether entries can be removed from the accumulator. - accumulator
- Type: Extreme.DataAnalysisIAccumulatorT, U
The accumulator object that is to hold the result.
Return Value
Type:
Boolean if the accumulator could be found;
otherwise
.
Reference