Returns an empty histogram using the specified bin arrangement.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Histogram<Interval<T>> CreateEmpty<T>(
IList<T> bounds,
SpecialBins specialBins = SpecialBins.None
)
where T : Object, IComparable<T>
Public Shared Function CreateEmpty(Of T As {Object, IComparable(Of T)}) (
bounds As IList(Of T),
Optional specialBins As SpecialBins = SpecialBins.None
) As Histogram(Of Interval(Of T))
public:
generic<typename T>
where T : Object, IComparable<T>
static Histogram<Interval<T>>^ CreateEmpty(
IList<T>^ bounds,
SpecialBins specialBins = SpecialBins::None
)
static member CreateEmpty :
bounds : IList<'T> *
?specialBins : SpecialBins
(* Defaults:
let _specialBins = defaultArg specialBins SpecialBins.None
*)
-> Histogram<Interval<'T>> when 'T : Object and IComparable<'T>
Parameters
- bounds
- Type: System.Collections.GenericIListT
A list that specifies the boundaries of the
intervals. The values in this list must be in increasing order. - specialBins (Optional)
- Type: Extreme.DataAnalysisSpecialBins
A SpecialBins value that specifies
which special bins, if any, to include in the histogram.
Type Parameters
- T
- The type of the values.
Return Value
Type:
HistogramIntervalT
Reference