Constructs a new
IntervalIndexT with equally spaced intervals over the specified range.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static IntervalIndex<T> CreateBins<T>(
T lowerBound,
T upperBound,
int numberOfIntervals,
SpecialBins specialBins = SpecialBins.None
)
where T : Object, IComparable<T>
Public Shared Function CreateBins(Of T As {Object, IComparable(Of T)}) (
lowerBound As T,
upperBound As T,
numberOfIntervals As Integer,
Optional specialBins As SpecialBins = SpecialBins.None
) As IntervalIndex(Of T)
public:
generic<typename T>
where T : Object, IComparable<T>
static IntervalIndex<T>^ CreateBins(
T lowerBound,
T upperBound,
int numberOfIntervals,
SpecialBins specialBins = SpecialBins::None
)
static member CreateBins :
lowerBound : 'T *
upperBound : 'T *
numberOfIntervals : int *
?specialBins : SpecialBins
(* Defaults:
let _specialBins = defaultArg specialBins SpecialBins.None
*)
-> IntervalIndex<'T> when 'T : Object and IComparable<'T>
Parameters
- lowerBound
- Type: T
The lower bound of the range. - upperBound
- Type: T
The upper bound of the range. - numberOfIntervals
- Type: SystemInt32
The number of 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
Return Value
Type:
IntervalIndexT
Reference