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

AVL.CreateUniformHistogram

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateUniformHistogram
(
	double inValue,
	float inDomainStart,
	float inBinSize,
	int inBinCount,
	AvlNet.Histogram outHistogram
)

Parameters

Name Type Range Default Description
inValuedoubleCommon value for all bins of the constructed histogram.
inDomainStartfloat0.0fFirst value of the domain represented by the histogram. Default value: 0.0f.
inBinSizefloat<0.0f, INF>1.0fLength of the domain section represented by each bin. Default value: 1.0f.
inBinCountint<1, +INF>1Length of the domain represented by the histogram. Default value: 1.
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

List of possible exceptions:

Error type Description
DomainError Non-positive bin width in CreateUniformHistogram.

See also