Enters data from a list of values into a histogram using the specified weights.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static void Tabulate<T>(
this Histogram<T> histogram,
IList<T> values,
IList<double> weights
)
where T : Object, IComparable<T>
<ExtensionAttribute>
Public Shared Sub Tabulate(Of T As {Object, IComparable(Of T)}) (
histogram As Histogram(Of T),
values As IList(Of T),
weights As IList(Of Double)
)
public:
[ExtensionAttribute]
generic<typename T>
where T : Object, IComparable<T>
static void Tabulate(
Histogram<T>^ histogram,
IList<T>^ values,
IList<double>^ weights
)
[<ExtensionAttribute>]
static member Tabulate :
histogram : Histogram<'T> *
values : IList<'T> *
weights : IList<float> -> unit when 'T : Object and IComparable<'T>
Parameters
- histogram
- Type: Extreme.DataAnalysisHistogramT
The histogram that records the tabulation. - values
- Type: System.Collections.GenericIListT
A list of values to be tabulated. - weights
- Type: System.Collections.GenericIListDouble
A list of weights.
Type Parameters
- T
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
HistogramT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Use this method to enter the data from a list into the histogram.
If weights is , all observations
are considered to have weight equal to 1.
Reference