Accumulating Aggregator<T, TResult, TIntermediate, TConverter, TAccumulator> Constructor
Constructs a new accumulating aggregator.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public AccumulatingAggregator(
Func<TAccumulator, TResult> selector,
AggregatorAttributes attributes,
TResult emptyValue
)
Parameters
- selector Func<TAccumulator, TResult>
- A delegate that performs the transformation of the result of the accumulation to produce the final result.
- attributes AggregatorAttributes
- The attributes of the aggregator.
- emptyValue TResult
- The value of the aggregation when the input is empty.
Remarks
Incremental is automatically added to attributes.