You are here: Start » FIL.NET » FIL.CreateHistogram
Creates the histogram of the array of real numbers.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CreateHistogram ( IList<float> inArray, NullableRef<IList<int>> inWeights, float inBinSize, float? inDomainStart, float? inDomainLength, FilNet.Histogram outHistogram )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inArray | System.Collections.Generic.IList<float> | Array from which histogram will be generated. | ||
![]() | inWeights | FilNet.NullableRef<System.Collections.Generic.IList<int>> | Weights corresponding to the elements of 'inArray'. Default value: ftl::NIL. | ||
![]() | inBinSize | float | <0.0001f, INF> | 1.0f | Input bin size. Default value: 1.0f. |
![]() | inDomainStart | float? | Input domain begin. Default value: ftl::NIL. | ||
![]() | inDomainLength | float? | <0.0001f, INF> | Input domain length. Default value: ftl::NIL. | |
![]() | outHistogram | FilNet.Histogram | Output histogram. |
Description
The operation creates a histogram of inArray values.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Inconsistent array lengths at inArray and inWeights in CreateHistogram. |
DomainError | Input bin width is incorrect in CreateHistogram. |
DomainError | Input boundaries are incorrect in CreateHistogram. |
DomainError | Negative weight encountered in CreateHistogram. |
DomainError | Output histogram size too large in CreateHistogram. |