Histogram<T>.IncrementAt Method

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

IncrementAt(Int32) Increments the bin at the specified index.
IncrementAt(Int32, Double) Increments the bin at the specified index by the specified amount.

IncrementAt(Int32)

Increments the bin at the specified index.
C#
public void IncrementAt(
	int index
)

Parameters

index  Int32
The index of the bin to increment.

Exceptions

ArgumentOutOfRangeException

index is less than zero or greater than or equal to the length of the histogram.

IncrementAt(Int32, Double)

Increments the bin at the specified index by the specified amount.
C#
public void IncrementAt(
	int index,
	double weight
)

Parameters

index  Int32
The index of the bin to increment.
weight  Double
The amount to increment the bin value by.

Exceptions

ArgumentOutOfRangeException

index is less than zero or greater than or equal to the length of the histogram.

See Also