Accumulating Aggregator<T, TResult, TAccumulator> Constructor
Constructs a new aggregator.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public AccumulatingAggregator(
Func<TAccumulator, TResult> selector,
AggregatorAttributes attributes,
TResult emptyValue = null
)
Parameters
- selector Func<TAccumulator, TResult>
- A delegate that selects the result of the accumulation from the accumulator.
- attributes AggregatorAttributes
- The attributes of the aggregator.
- emptyValue TResult (Optional)
- The value of the aggregation when the input is empty.