Increments the bin of a histogram that contains the specified value by 1.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static void Increment<T>(
this Histogram<Interval<T>> histogram,
T value
)
where T : Object, IComparable<T>
<ExtensionAttribute>
Public Shared Sub Increment(Of T As {Object, IComparable(Of T)}) (
histogram As Histogram(Of Interval(Of T)),
value As T
)
public:
[ExtensionAttribute]
generic<typename T>
where T : Object, IComparable<T>
static void Increment(
Histogram<Interval<T>>^ histogram,
T value
)
[<ExtensionAttribute>]
static member Increment :
histogram : Histogram<Interval<'T>> *
value : 'T -> unit when 'T : Object and IComparable<'T>
Parameters
- histogram
- Type: Extreme.DataAnalysisHistogramIntervalT
The histogram whose bin is to be incremented. - value
- Type: T
The key of the bin that is to be incremented.
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).
To increment by a weight other than one,
provide the weight as the second parameter.
Reference