Increments a bin of a histogram by the specified amount.
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,
double weight
)
<ExtensionAttribute>
Public Shared Sub Increment(Of T) (
histogram As Histogram(Of T),
value As T,
weight As Double
)
public:
[ExtensionAttribute]
generic<typename T>
static void Increment(
Histogram<T>^ histogram,
T value,
double weight
)
[<ExtensionAttribute>]
static member Increment :
histogram : Histogram<'T> *
value : 'T *
weight : float -> unit
Parameters
- histogram
- Type: Extreme.DataAnalysisHistogramT
The histogram whose bin is to be incremented. - value
- Type: T
A number whose containing bin is to be incremented. - weight
- Type: SystemDouble
The value by which to
increment the value of the bin.
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).
Reference