Increments a bin of a histogram by 1.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static void Increment<T>(
this Histogram<T> histogram,
T value
)
<ExtensionAttribute>
Public Shared Sub Increment(Of T) (
histogram As Histogram(Of T),
value As T
)
public:
[ExtensionAttribute]
generic<typename T>
static void Increment(
Histogram<T>^ histogram,
T value
)
[<ExtensionAttribute>]
static member Increment :
histogram : Histogram<'T> *
value : 'T -> unit
Parameters
- histogram
- Type: Extreme.DataAnalysisHistogramT
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
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).
To increment by a weight other than one,
provide the weight as the second parameter.
Reference