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>(
T lowerBound,
T upperBound,
int numberOfBins = 10
)
where T : Object, IComparable<T>
Public Shared Function CreateEmpty(Of T As {Object, IComparable(Of T)}) (
lowerBound As T,
upperBound As T,
Optional numberOfBins As Integer = 10
) As Histogram(Of Interval(Of T))
public:
generic<typename T>
where T : Object, IComparable<T>
static Histogram<Interval<T>>^ CreateEmpty(
T lowerBound,
T upperBound,
int numberOfBins = 10
)
static member CreateEmpty :
lowerBound : 'T *
upperBound : 'T *
?numberOfBins : int
(* Defaults:
let _numberOfBins = defaultArg numberOfBins 10
*)
-> Histogram<Interval<'T>> when 'T : Object and IComparable<'T>
Parameters
- lowerBound
- Type: T
The lower bound of the first histogram bin. - upperBound
- Type: T
The upper bound of the last histogram bin. - numberOfBins (Optional)
- Type: SystemInt32
The number of bins.
Type Parameters
- T
- The type of the values.
Return Value
Type:
HistogramIntervalTAn empty histogram containing
numberOfBins bins
with boundaries between
lowerBound and
upperBound.
.
Reference