Constructs a grouping based on binned values.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Grouping<Interval<T>> ByValue<T>(
IList<T> values,
IntervalIndex<T> index
)
where T : Object, IComparable<T>
Public Shared Function ByValue(Of T As {Object, IComparable(Of T)}) (
values As IList(Of T),
index As IntervalIndex(Of T)
) As Grouping(Of Interval(Of T))
public:
generic<typename T>
where T : Object, IComparable<T>
static Grouping<Interval<T>>^ ByValue(
IList<T>^ values,
IntervalIndex<T>^ index
)
static member ByValue :
values : IList<'T> *
index : IntervalIndex<'T> -> Grouping<Interval<'T>> when 'T : Object and IComparable<'T>
Parameters
- values
- Type: System.Collections.GenericIListT
A list of values. - index
- Type: Extreme.DataAnalysisIntervalIndexT
The index used to partition the values.
Type Parameters
- T
- The type of the values.
Return Value
Type:
GroupingIntervalTA grouping object that represents the grouping
of
values into bins specified by
index.
Reference