You are here: Start » AVL.NET » Function Reference » Histogram » Histogram Basics » AVL.SetHistogramCorrespondingBin

AVL.SetHistogramCorrespondingBin

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

C++
C#
 
public static void SetHistogramCorrespondingBin
(
	AvlNet.Histogram ioHistogram,
	float inBinSelectionValue,
	bool inCyclic,
	double inNewValue
)

Parameters

Name Type Range Default Description
ioHistogramAvlNet.Histogram
inBinSelectionValuefloatInput value in the histogram domain that will be used to select the bin.
inCyclicboolFalseWhether to wrap the index around or not. Default value: False.
inNewValuedoubleInput new value to be set.

Errors

List of possible exceptions:

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

See also