DestructiveAggregator<T, TResult, TIntermediate, TConverter> Constructor

Constructs a new destructive aggregator.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public DestructiveAggregator(
	Func<TIntermediate, TResult> transformation,
	AggregatorAttributes attributes,
	TResult emptyValue
)

Parameters

transformation  Func<TIntermediate, TResult>
A delegate that transforms the intermediate result of the aggregation into the final value.
attributes  AggregatorAttributes
The attributes of the aggregator.
emptyValue  TResult
The value of the aggregation when the input is empty.

See Also