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_concatTupleConcatTupleConcatTupleConcattuple_concat
concatenates the input tuples T1T1T1T1t1t1
and
T2T2T2T2t2t2
to a new tuple ConcatConcatConcatConcatconcatconcat
. The first elements of
ConcatConcatConcatConcatconcatconcat
conform to the elements of T1T1T1T1t1t1
and the
remaining elements of ConcatConcatConcatConcatconcatconcat
conform to those of T2T2T2T2t2t2
.
HDevelop In-line Operation
HDevelop provides an in-line operation for tuple_concattuple_concatTupleConcatTupleConcatTupleConcattuple_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
T1T1T1T1t1t1
(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.
T2T2T2T2t2t2
(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.
ConcatConcatConcatConcatconcatconcat
(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_constTupleGenConstTupleGenConstTupleGenConsttuple_gen_const
,
tuple_str_bit_selecttuple_str_bit_selectTupleStrBitSelectTupleStrBitSelectTupleStrBitSelecttuple_str_bit_select
,
tuple_selecttuple_selectTupleSelectTupleSelectTupleSelecttuple_select
,
tuple_str_first_ntuple_str_first_nTupleStrFirstNTupleStrFirstNTupleStrFirstNtuple_str_first_n
,
tuple_str_last_ntuple_str_last_nTupleStrLastNTupleStrLastNTupleStrLastNtuple_str_last_n
,
tuple_substrtuple_substrTupleSubstrTupleSubstrTupleSubstrtuple_substr
See also
tuple_removetuple_removeTupleRemoveTupleRemoveTupleRemovetuple_remove
Module
Foundation