tuple_select ( : : Tuple, Index : Selected )

Select single elements of a tuple.

tuple_select selects one or more single elements of the tuple Tuple and returns them with Selected. At this, Index determines the indices of the elements to select. Thus Index may only contain integer values (any floating point number within Index must represent an integer value without fraction). Indices of tuple elements start at 0, that means, the first tuple element has got the index 0.


Parameters

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

Index (input_control)
number(-array) -> integer / real
Indices of the elements to select.

Selected (output_control)
number(-array) -> integer / real / string
Selected tuple element.


Parallelization Information

tuple_select is reentrant and processed without parallelization.


Alternatives

tuple_first_n, tuple_last_n, tuple_str_bit_select, tuple_concat


Module

Operators not requiring licensing



Copyright © 1996-2005 MVTec Software GmbH