tuple_inversetuple_inverseTupleInverseTupleInverse (Operator)
Name
tuple_inversetuple_inverseTupleInverseTupleInverse
— Invert a tuple.
Signature
Description
tuple_inversetuple_inverseTupleInverseTupleInverseTupleInverse
inverts the input tuple TupleTupleTupleTupletuple
. Thus,
InvertedInvertedInvertedInvertedinverted
contains the same elements as TupleTupleTupleTupletuple
but with
the reverse order.
Exception: Empty input tuple
If the input tuple is empty, the operator returns an empty tuple.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_inversetuple_inverseTupleInverseTupleInverseTupleInverse
,
which can be used in an expression in the following syntax:
Inverted := inverse(Tuple)
Execution Information
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
TupleTupleTupleTupletuple
(input_control) tuple(-array) →
HTupleHTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)
Input tuple.
InvertedInvertedInvertedInvertedinverted
(output_control) tuple(-array) →
HTupleHTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)
Inverted input tuple.
Alternatives
tuple_sorttuple_sortTupleSortTupleSortTupleSort
,
tuple_sort_indextuple_sort_indexTupleSortIndexTupleSortIndexTupleSortIndex
Module
Foundation