Back to FabImage Library website
You are here: Start » Function Reference » Statistics » FindDataMode_FixedSpread

FindDataMode_FixedSpread
Header: | FIL.h |
---|---|
Namespace: | fil |
Find the mode of data sample by looking for highest number of samples withing the specified spread
Syntax
C++
C#
void fil::FindDataMode_FixedSpread ( const ftl::Array<float>& inValues, float inSpread, ftl::Optional<float> inCycle, float& outMode, float& outMiddle, int& outCount )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inValues | const Array<float>& | |||
![]() |
inSpread | float | 0.0 - ![]() |
2.0f | |
![]() |
inCycle | Optional<float> | NIL | ||
![]() |
outMode | float& | |||
![]() |
outMiddle | float& | |||
![]() |
outCount | int& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty array in FindDataMode_FixedSpread. |