Aggregator2<T, U> Class

Represents a function that aggregates the values in a vector.

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public abstract class Aggregator2<T, U> : IAggregator2<U>, 
	IAggregator2
Inheritance
Object  →  Aggregator2<T, U>
Implements
IAggregator2, IAggregator2<U>

Type Parameters

T
The element type of the input.
U
The type of the result of the aggregation.

Constructors

Aggregator2<T, U>Initializes a new instance of the Aggregator2<T, U> class

Properties

EmptyGroupsHaveValue Gets whether the aggregator produces a value for empty groups.
SupportsDirectAggregation Gets whether the aggregator supports computing the aggregation for all groups directly from the group levels.

Methods

Aggregate Aggregates the elements of a vector according to the specified grouping.
AggregateInto(Vector<T>, Vector<T>, IGrouping, Vector<U>) Groups the elements of a vector according to the specified grouping.
AggregateInto(Vector<T>, Vector<T>, Int32[], Vector<U>) Groups the elements of a vector according to the specified level indexes.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryAggregate(Vector<T>, Vector<T>, U) Aggregates the elements of a vector and returns the result.
TryAggregate(IEnumerable<T>, IEnumerable<T>, Boolean, U) Aggregates the elements of a sequence and returns the result.
TryAggregate(Vector<T>, Vector<T>, Array1D<Int32>, Int32, U) Aggregates the specified elements of a vector and returns the result.
TryAggregate(Vector<T>, Vector<T>, Int32, Int32, U) Aggregates the specified range of elements of a vector and returns the result.
TryGetAccumulator Attempts to get an accumulator that can be used to perform the aggregation.

Operators

Implicit(Func<Vector<T>, Vector<T>, U> to Aggregator2<T, U>) Implicitly converts an aggregation function to an Aggregator2<T, U> object.

See Also