You are here: Start » AVL.NET » AVL.FindDataMode_FixedSpread
Find the mode of data sample by looking for highest number of samples withing the specified spread
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void FindDataMode_FixedSpread ( IList<float> inValues, float inSpread, float? inCycle, out float outMode, out float outMiddle, out int outCount )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inValues | System.Collections.Generic.IList<float> | |||
![]() | inSpread | float | <0.0f, INF> | 2.0f | Default value: 2.0f. |
![]() | inCycle | float? | |||
![]() | outMode | float | |||
![]() | outMiddle | float | |||
![]() | outCount | int |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Empty array in FindDataMode_FixedSpread. |


