Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Basic » Statistics » NthValue

NthValue


Module: FoundationLite

Computes n-th smallest value in an array (0-indexed). The array must be not empty.

Name Type Description
Input value inValues RealArray
Input value inN Integer
Output value outNthValue Real

Hints

  • If the input array is not guaranteed to be non-empty, precede this filter with SkipEmptyArray.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Selected N exceed the array index range in NthValue.

Complexity Level

This filter is available on Advanced Complexity Level.