Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Array » Array Statistics » GetMedianElement

GetMedianElement


Module: FoundationLite

Gets an array element corresponding to the median value from the inValues array.

Name Type Description
Input value inArray <T>Array Elements from which element corresponding to median value will be chosen
Input value inValues RealArray Values defining the order
Output value outElement <T> Element from the array
Output value outValue Real Median value
Output value outIndex Integer Index of the median value

The type of this filter is defined using the type variable T which represents any valid type. Read more.

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 Empty input array in GetMedianElement.
DomainError Inconsistent array sizes in GetMedianElement.

Complexity Level

This filter is available on Advanced Complexity Level.

Filter Group

This filter is member of GetMedianElement filter group.