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

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

Creates an uniform histogram of desired parameters with common value of all bins.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreateUniformHistogram(
	int inValue,
	float inBinSize,
	float inDomainStart,
	float inDomainLength,
	out AvlNet.Histogram outHistogram
)

Parameters

inValue
Type: System.Int32
Common value for all bins of the constructed histogram
inBinSize
Type: System.Single
Length of the domain section represented by each bin
inDomainStart
Type: System.Single
First value of the domain represented by the histogram
inDomainLength
Type: System.Single
Length of the domain represented by the histogram
outHistogram
Type: AvlNet.Histogram
The resulting histogram

Description

The operation creates a histogram composed from equally valued bins representing the given domain.

Examples

CreateUniformHistogram run with inValue = 10.

Errors

Error type Description
DomainError Nonpositive bin width in CreateUniformHistogram.

See also