Grouping Class
Represents a collection of keys mapped to groups of indices.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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<T>(IList<T>, IList<Double>) | Constructs a grouping based on the quantile ranks. |
| ByQuantile<T>(IList<T>, Int32) | Constructs a grouping based on the quantile ranks. |
| ByValue<T>(IList<T>) | Constructs a grouping based on the values in the specified list. |
| ByValue<T>(IList<T>, IntervalIndex<T>) | Constructs a grouping based on binned values. |
| ByValue<T>(IList<T>, IEqualityComparer<T>) | Constructs a grouping based on the values in the specified list. |
| ByValue<T>(IList<T>, T, T, 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. |
| Group<T>(IEnumerable<T>) | Returns a grouping by the unique elements in a sequence. |
| Group<T>(IList<T>) | Returns a grouping by the unique elements in a list. |
| Group<T>(IEnumerable<T>, IEqualityComparer<T>) | Returns a grouping by the unique elements in a sequence using the specified comparer to determine equality. |
| Group<T>(IList<T>, IEqualityComparer<T>) | 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<T>(IList<T>, 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<T>(Index<T>, Int32, Int32, Boolean, Int32) | Constructs a grouping that represents a moving window of fixed length. |