You are here: Start » AVL.NET » AVL.CreateUniformHistogram
Creates an uniform histogram of desired parameters with common value of all bins.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateUniformHistogram ( int inValue, float inBinSize, float inDomainStart, float inDomainLength, AvlNet.Histogram outHistogram )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inValue | int | Common value for all bins of the constructed histogram. | ||
![]() | inBinSize | float | <0.0f, INF> | 1.0f | Length of the domain section represented by each bin. Default value: 1.0f. |
![]() | inDomainStart | float | 0.0f | First value of the domain represented by the histogram. Default value: 0.0f. | |
![]() | inDomainLength | float | <0.0f, INF> | 256.0f | Length of the domain represented by the histogram. Default value: 256.0f. |
![]() | outHistogram | 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
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Nonpositive bin width in CreateUniformHistogram. |


