AccumulatingAggregator<T, TResult, TIntermediate, TConverter, TAccumulator> Constructor
Constructs a new accumulating aggregator.
DefinitionPermalink
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.5
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.5
public AccumulatingAggregator(
Func<TAccumulator, TResult> selector,
AggregatorAttributes attributes,
TResult emptyValue
)
ParametersPermalink
- 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.
RemarksPermalink
Incremental is automatically added to attributes.