You are here: Start » AVL.NET » AVL.CreateUniformHistogram Method

AVL.CreateUniformHistogram Method

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

Name Type Range Default Description
inValueintCommon value for all bins of the constructed histogram.
inBinSizefloat<0.0f, INF>1.0fLength of the domain section represented by each bin. Default value: 1.0f.
inDomainStartfloat0.0fFirst value of the domain represented by the histogram. Default value: 0.0f.
inDomainLengthfloat<0.0f, INF>256.0fLength of the domain represented by the histogram. Default value: 256.0f.
outHistogramAvlNet.HistogramThe 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