Name
tuple_select_ranktuple_select_rankTupleSelectRanktuple_select_rankTupleSelectRankTupleSelectRank — Select the element of rank n of a tuple.
tuple_select_ranktuple_select_rankTupleSelectRanktuple_select_rankTupleSelectRankTupleSelectRank sorts the elements of the tuple
TupleTupleTupleTupleTupletuple and returns the element of rank n in SelectedSelectedSelectedSelectedSelectedselected.
RankIndexRankIndexRankIndexRankIndexRankIndexrankIndex determines the index of the element to select.
Thus, RankIndexRankIndexRankIndexRankIndexRankIndexrankIndex may only contain integer values (any floating point
number in RankIndexRankIndexRankIndexRankIndexRankIndexrankIndex must represent an integer value without
fraction). Indices of tuple elements start at 0, i.e. the lowest
tuple element has the index 0.
Exception: Empty input tuples
If RankIndexRankIndexRankIndexRankIndexRankIndexrankIndex is empty, the operator returns an empty tuple.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_select_ranktuple_select_rankTupleSelectRanktuple_select_rankTupleSelectRankTupleSelectRank,
which can be used in an expression in the following syntax:
Selected := select_rank(Tuple, RankIndex)
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Rank of the element to select.
tuple_sort_indextuple_sort_indexTupleSortIndextuple_sort_indexTupleSortIndexTupleSortIndex,
tuple_sorttuple_sortTupleSorttuple_sortTupleSortTupleSort
tuple_mediantuple_medianTupleMediantuple_medianTupleMedianTupleMedian,
tuple_selecttuple_selectTupleSelecttuple_selectTupleSelectTupleSelect
Foundation