Binary Accumulating Aggregator<T1, T2, TResult, TIntermediate, TConverter1, TConverter2, TAccumulator> Class
Represents a binary aggregator that uses an accumulator.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.2
public class BinaryAccumulatingAggregator<T1, T2, TResult, TIntermediate, TConverter1, TConverter2, TAccumulator> : BinaryAggregator<T1, T2, TResult>
where TConverter1 : struct, new(), IFromConverter<T1>
where TConverter2 : struct, new(), IFromConverter<T2>
where TAccumulator : struct, new(), IBinaryAccumulator<TIntermediate, TIntermediate>
- Inheritance
- Object → BinaryAggregator<T1, T2, TResult> → BinaryAccumulatingAggregator<T1, T2, TResult, TIntermediate, TConverter1, TConverter2, TAccumulator>
Type Parameters
- T1
- The element type of the first input.
- T2
- The element type of the second input.
- TResult
- The type of the result of the aggregation.
- TIntermediate
- The intermediate element type fed into the accumulator.
- TConverter1
- The type of the converter that casts T1 values to TIntermediate.
- TConverter2
- The type of the converter that casts T2 values to TIntermediate.
- TAccumulator
- The type of the accumulator.
Remarks
The constructor accepts a function that applies a transformation to the result of the accumulator.
Constructors
Binary | Constructs a new accumulating aggregator. |
Properties
Empty |
Gets whether the aggregator produces a value for empty groups.
(Inherited from BinaryAggregator<T1, T2, TResult>) |
Empty |
Gets the value that is returned when the input is empty.
(Inherited from BinaryAggregator<T1, T2, TResult>) |
Supports |
Gets whether the aggregator supports computing the aggregation
for all groups directly from the group levels.
(Inherited from BinaryAggregator<T1, T2, TResult>) |