tuple_concattuple_concatTupleConcatTupleConcattuple_concat (Operator)
Name
tuple_concattuple_concatTupleConcatTupleConcattuple_concat
— Concatenate two tuples to a new one.
Signature
Herror tuple_concat(const Hlong T1, const Hlong T2, Hlong* Concat)
Herror T_tuple_concat(const Htuple T1, const Htuple T2, Htuple* Concat)
def tuple_concat(t1: MaybeSequence[Union[float, int, str]], t2: MaybeSequence[Union[float, int, str]]) -> Sequence[Union[float, int, str]]
def tuple_concat_s(t1: MaybeSequence[Union[float, int, str]], t2: MaybeSequence[Union[float, int, str]]) -> Union[float, int, str]
Description
tuple_concattuple_concatTupleConcatTupleConcattuple_concat
concatenates the input tuples T1T1T1t1t1
and
T2T2T2t2t2
to a new tuple ConcatConcatConcatconcatconcat
. The first elements of
ConcatConcatConcatconcatconcat
conform to the elements of T1T1T1t1t1
and the
remaining elements of ConcatConcatConcatconcatconcat
conform to those of T2T2T2t2t2
.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_concattuple_concatTupleConcatTupleConcattuple_concat
,
which can be used in an expression in the following syntax:
Concat := [T1, T2]
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
T1T1T1t1t1
(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 1.
T2T2T2t2t2
(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 2.
ConcatConcatConcatconcatconcat
(output_control) tuple(-array) →
HTupleSequence[Union[float, int, str]]HTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)
Concatenation of input tuples.
Alternatives
tuple_gen_consttuple_gen_constTupleGenConstTupleGenConsttuple_gen_const
,
tuple_str_bit_selecttuple_str_bit_selectTupleStrBitSelectTupleStrBitSelecttuple_str_bit_select
,
tuple_selecttuple_selectTupleSelectTupleSelecttuple_select
,
tuple_str_first_ntuple_str_first_nTupleStrFirstNTupleStrFirstNtuple_str_first_n
,
tuple_str_last_ntuple_str_last_nTupleStrLastNTupleStrLastNtuple_str_last_n
,
tuple_substrtuple_substrTupleSubstrTupleSubstrtuple_substr
See also
tuple_removetuple_removeTupleRemoveTupleRemovetuple_remove
Module
Foundation