AggregatorGroup<TResult> Class

Represents an aggregator group that computes a result of the specified type.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public abstract class AggregatorGroup<TResult> : AggregatorGroup
Inheritance
Object  →  AggregatorGroup  →  AggregatorGroup<TResult>

Type Parameters

TResult
The type of the result.

Constructors

AggregatorGroup<TResult>(String) Constructs a new aggregator group.
AggregatorGroup<TResult>(String, TResult) Constructs a new aggregator group.

Properties

EmptyGroupsHaveValue Gets whether the aggregator produces a value for empty groups.
(Overrides AggregatorGroup.EmptyGroupsHaveValue)
EmptyValue Gets the value that is returned when the input is empty.
Name Gets the name of the aggregator group.
(Inherited from AggregatorGroup)

Methods

Aggregate<T>(Vector<T>) Aggregates the elements of a vector and returns the result.
Aggregate<T>(IEnumerable<T>, Boolean) Aggregates the elements of a sequence and returns the result.
Aggregate<T>(ReadOnlySpan<T>, Boolean) Aggregates the elements of a span and returns the result.
Aggregate<T>(Vector<T>, Boolean) Aggregates the elements of a vector and returns the result.
AggregateBy<T> Aggregates the elements of a vector according to the specified grouping.
AggregateInto(IVector, IGrouping, Vector<TResult>) Aggregates the elements of a data frame column according to the specified grouping and returns the result in an existing vector.
AggregateInto<T>(Vector<T>, IGrouping, Vector<TResult>) Groups the elements of a vector according to the specified grouping.
AggregateInto<T>(Vector<T>, Int32[], Boolean, Vector<TResult>) Groups the elements of a vector according to the specified level indexes.
AggregateWhere<T, TPredicate>(IEnumerable<T>, TPredicate, Boolean) Aggregates the elements of a sequence and returns the result.
AggregateWhere<T, TPredicate>(ReadOnlySpan<T>, TPredicate, Boolean) Aggregates the elements of a span and returns the result.
As<TNewResult> Returns an aggregator group that produces results of the specified type.
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)
Specialize(Type) Returns an aggregator specialized to operate on values of the specified type.
Specialize<T>() Returns an aggregator specialized to operate on values of the specified type.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryAggregate(IVector, TResult) Aggregates the elements of a vector and returns the result.
TryAggregate<T>(Vector<T>, TResult) Aggregates the elements of a vector and returns the result.
TryAggregate<T>(IEnumerable<T>, Boolean, TResult) Aggregates the elements of a sequence and returns the result.
TrySpecialize(Type, IAggregator) Returns an aggregator for the specified element type for input operands.
(Overrides AggregatorGroup.TrySpecialize(Type, IAggregator))
TrySpecialize(Type, IAggregator<TResult>) Attempts to create an aggregator specialized to operate on values of the specified type.
TrySpecialize<T>(Aggregator<T, TResult>) Attempts to create an aggregator specialized to operate on values of the specified type.
TrySpecialize<T>(IAggregator<TResult>) Attempts to create an aggregator specialized to operate on values of the specified type.

See Also