Back to Adaptive Vision Library website
You are here: Start » Function Reference » Statistics » NthValue
Computes n-th smallest value in an array (0-indexed). The array must be not empty.
Syntax
void avl::NthValue ( const atl::Array<float>& inValues, int inN, float& outNthValue )
Parameters
Hints
- If the input array is not guaranteed to be non-empty, precede this filter with SkipEmptyArray.
Errors
Error type | Description |
---|---|
DomainError | Selected N exceed the array index range in NthValue. |