You are here: Start » AVL.NET » AVL.SetHistogramCorrespondingBin(AvlNet.Histogram, float, int)

AVL.SetHistogramCorrespondingBin(AvlNet.Histogram, float, int)

Selects a bin that the given value in the histogram domain falls into and sets the value of this bin.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void SetHistogramCorrespondingBin(
	ref AvlNet.Histogram ioHistogram,
	float inBinSelectionValue,
	int inNewValue
)

Parameters

ioHistogram
Type: AvlNet.Histogram
inBinSelectionValue
Type: System.Single
Input value in the histogram domain that will be used to select the bin
inNewValue
Type: System.Int32
Input new value to be set

Errors

Error type Description
DomainError inBinSelectionValue exceeds the histogram domain in SetHistogramCorrespondingBin.

See also