tuple_inversetuple_inverseTupleInverseTupleInversetuple_inverse (算子名称)
名称
tuple_inversetuple_inverseTupleInverseTupleInversetuple_inverse — Invert a tuple.
参数签名
def tuple_inverse(tuple: MaybeSequence[Union[float, int, str]]) -> Sequence[Union[float, int, str]]
def tuple_inverse_s(tuple: MaybeSequence[Union[float, int, str]]) -> Union[float, int, str]
描述
tuple_inversetuple_inverseTupleInverseTupleInverseTupleInversetuple_inverse inverts the input tuple TupleTupleTupleTupletupletuple. Thus,
InvertedInvertedInvertedInvertedinvertedinverted contains the same elements as TupleTupleTupleTupletupletuple but with
the reverse order.
Exception: Empty input tuple
If the input tuple is empty, 该算子 returns an empty tuple.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_inversetuple_inverseTupleInverseTupleInverseTupleInversetuple_inverse,
which can be used in an expression in the following syntax:
Inverted := inverse(Tuple)
运行信息
- Multithreading type: independent (runs in parallel even with exclusive operators).
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
TupleTupleTupleTupletupletuple (input_control) tuple(-array) → HTupleMaybeSequence[Union[float, int, str]]HTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)
Input tuple.
InvertedInvertedInvertedInvertedinvertedinverted (output_control) tuple(-array) → HTupleSequence[Union[float, int, str]]HTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)
Inverted input tuple.
可替代算子
tuple_sorttuple_sortTupleSortTupleSortTupleSorttuple_sort,
tuple_sort_indextuple_sort_indexTupleSortIndexTupleSortIndexTupleSortIndextuple_sort_index
模块
Foundation