Grouping Class
Represents a collection of keys mapped to groups of indices.
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static class Grouping
- Inheritance
- Object → Grouping
Remarks
Use the Grouping class to construct or represent a groups of indices and their corresponding keys. Examples of groupings are moving windows and partitions.
Methods
ByQuantile<TInput>(IList<TInput>, IList<Double>) | Constructs a grouping based on the quantile ranks. |
ByQuantile<TInput>(IList<TInput>, Int32) | Constructs a grouping based on the quantile ranks. |
ByValue<TInput>(IList<TInput>) | Constructs a grouping based on the values in the specified list. |
ByValue<TInput>(IList<TInput>, IntervalIndex<TInput>) | Constructs a grouping based on binned values. |
ByValue<TInput>(IList<TInput>, IEqualityComparer<TInput>) | Constructs a grouping based on the values in the specified list. |
ByValue<TInput>(IList<TInput>, TInput, TInput, Int32) | Constructs a grouping based on binned values. |
Expanding | Constructs a grouping that represents an expanding window. |
Expanding | Constructs a grouping that represents an expanding window. |
From | Constructs a grouping from the specified collection of level indexes. |
Group<TInput>(IEnumerable<TInput>) | Returns a grouping by the unique elements in a sequence. |
Group<TInput>(IList<TInput>) | Returns a grouping by the unique elements in a list. |
Group<TInput>(IEnumerable<TInput>, IEqualityComparer<TInput>) | Returns a grouping by the unique elements in a sequence using the specified comparer to determine equality. |
Group<TInput>(IList<TInput>, IEqualityComparer<TInput>) | Returns a grouping by the unique elements in a list using the specified comparer to determine equality. |
Partition( | Constructs a grouping that represents a collection of non-overlapping chunks of fixed length. |
Partition( | Constructs a grouping that represents a collection of non-overlapping chunks of fixed length. |
Partition<TInput>(IList<TInput>, Int32, Boolean, Boolean) | Constructs a grouping that represents a collection of non-overlapping chunks of fixed length. |
Pivot<R, C> | Creates a new two-dimensional grouping from the specified row and column keys. |
Range | Constructs a grouping that represents a moving window whose keys are within the specified distance of each other. |
Range | Constructs a grouping that represents a moving window whose keys are within the specified distance of each other. |
Resample( | Creates a grouping that resamples the observations according to the specified recurrence. |
Resample<R>(Index<R>, Index<R>, Direction) | Creates a grouping that resamples the observations from one index to another. |
Variable | Constructs a grouping that represents a collection of non-overlapping chunks based on the specified condition. |
Variable | Returns a grouping that represents a moving window based on the specified condition. |
Window( | Constructs a grouping that represents a moving window of fixed length. |
Window( | Constructs a grouping that represents a moving window of fixed length. |
Window<TInput>(Index<TInput>, Int32, Int32, Boolean, Int32) | Constructs a grouping that represents a moving window of fixed length. |