Return the median of the elements of a tuple.
tuple_median calculates the median of all elements of the input tuple Tuple and returns it in the output parameter Median. The input tuple may only consist of numbers (integer or floating point numbers). The median is defined as the element with rank n/2 (see tuple_select_rank).
|
Tuple (input_control) |
number(-array) -> integer / real |
| Input tuple. | |
|
Median (output_control) |
number -> integer / real |
| Median of the tuple elements. | |
tuple_median is reentrant and processed without parallelization.
tuple_mean, tuple_min, tuple_max
Foundation