Creates a new histogram.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Histogram<T> Create<T>(
Index<T> bins,
Vector<double> values
)
Public Shared Function Create(Of T) (
bins As Index(Of T),
values As Vector(Of Double)
) As Histogram(Of T)
public:
generic<typename T>
static Histogram<T>^ Create(
Index<T>^ bins,
Vector<double>^ values
)
static member Create :
bins : Index<'T> *
values : Vector<float> -> Histogram<'T>
Parameters
- bins
- Type: Extreme.DataAnalysisIndexT
An index containing the labels for each bin. - values
- Type: Extreme.MathematicsVectorDouble
The values of each bin.
Type Parameters
- T
- The type of the bin labels.
Return Value
Type:
HistogramTA histogram.
Reference