Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static IntervalIndex<T> CreateBins<T>(
IList<T> bounds,
SpecialBins specialBins = SpecialBins.None
)
where T : Object, IComparable<T>
Public Shared Function CreateBins(Of T As {Object, IComparable(Of T)}) (
bounds As IList(Of T),
Optional specialBins As SpecialBins = SpecialBins.None
) As IntervalIndex(Of T)
public:
generic<typename T>
where T : Object, IComparable<T>
static IntervalIndex<T>^ CreateBins(
IList<T>^ bounds,
SpecialBins specialBins = SpecialBins::None
)
static member CreateBins :
bounds : IList<'T> *
?specialBins : SpecialBins
(* Defaults:
let _specialBins = defaultArg specialBins SpecialBins.None
*)
-> IntervalIndex<'T> when 'T : Object and IComparable<'T>
Parameters
- bounds
- Type: System.Collections.GenericIListT
An array of values of type T
that specifies the boundaries of the intervals. - specialBins (Optional)
- Type: Extreme.DataAnalysisSpecialBins
(Optional.) A SpecialBins value that specifies which special bins,
if any, to include in the index.
Type Parameters
- T
- The type of the interval bounds.
Return Value
Type:
IntervalIndexT
Reference