AccumulatingAggregator<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.3
C#
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.

See Also