IGrouping Interface

Represents a grouping of data on an index.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public interface IGrouping

Properties

Count Gets the number of groups.
Index Gets the index that contains the unique keys to the groups.

Methods

AggregateInto<T, TResult>(Vector<T>, Aggregator<T, TResult>, Vector<TResult>) Aggregates the specified vector over each group and returns the result.
AggregateInto<T1, T2, TResult>(Vector<T1>, Vector<T2>, BinaryAggregator<T1, T2, TResult>, Vector<TResult>) Aggregates the specified vector over each group and returns the result.
AggregateInto<T, TResult, TPredicate>(Vector<T>, Aggregator<T, TResult>, TPredicate, Nullable<Boolean>, Vector<TResult>) Aggregates the specified vector over each group and returns the result.
AggregateInto<T, TResult, TPredicate>(Aggregator<T, TResult>, Int32, ReadOnlySpanSlice<T>, TPredicate, Boolean, SpanSlice<TResult>) Aggregates the specified vector over each group and returns the result.
As<TKey> Returns the grouping as a strongly typed Grouping<TKey> of type TKey.
GetCounts Returns a histogram of the number of observations in each group.
GetIndexes Gets a sequence of indexes for the grouping.

See Also