List Vector<T>.Grouping Property
Gets the grouping that describes how the flattened values are divided into lists.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0
C#
An IGrouping that partitions the flattened values into the lists of this vector.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0
public IGrouping Grouping { get; }Property Value
IGroupingAn IGrouping that partitions the flattened values into the lists of this vector.
Remarks
This property exposes the relationship between the list vector and its underlying grouping structure. Aggregating over the list vector is equivalent to flattening it and aggregating by this grouping:
lv.AggregateLists(Aggregators.Sum) == lv.Flatten().AggregateBy(lv.Grouping, Aggregators.Sum)