tuple_median ( : : Tuple : Median )

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).


Parameters

Tuple (input_control)
number(-array) -> integer / real
Input tuple.

Median (output_control)
number -> integer / real
Median of the tuple elements.


Parallelization Information

tuple_median is reentrant and processed without parallelization.


Alternatives

tuple_select_rank


See also

tuple_mean, tuple_min, tuple_max


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH