Enters data from a sequence of values into a histogram.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static void Tabulate<T>(
this Histogram<Interval<T>> histogram,
IEnumerable<T> values
)
where T : Object, IComparable<T>
<ExtensionAttribute>
Public Shared Sub Tabulate(Of T As {Object, IComparable(Of T)}) (
histogram As Histogram(Of Interval(Of T)),
values As IEnumerable(Of T)
)
public:
[ExtensionAttribute]
generic<typename T>
where T : Object, IComparable<T>
static void Tabulate(
Histogram<Interval<T>>^ histogram,
IEnumerable<T>^ values
)
[<ExtensionAttribute>]
static member Tabulate :
histogram : Histogram<Interval<'T>> *
values : IEnumerable<'T> -> unit when 'T : Object and IComparable<'T>
Parameters
- histogram
- Type: Extreme.DataAnalysisHistogramIntervalT
The histogram that records the tabulation. - values
- Type: System.Collections.GenericIEnumerableT
A sequence of values to be tabulated.
Type Parameters
- T
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
HistogramIntervalT. 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 sequence into the histogram.
All observations are considered to have weight equal to 1.
Values that are outside the range of the histogram are discarded.
Reference