Skip to content

tuple_concatTupleConcatTupleConcattuple_concattuple_concat🔗

Short description🔗

tuple_concatTupleConcatTupleConcattuple_concattuple_concat — Concatenate two tuples to a new one.

Signature🔗

tuple_concat( tuple T1, tuple T2, out tuple Concat )void TupleConcat( const HTuple& T1, const HTuple& T2, HTuple* Concat )static void HOperatorSet.TupleConcat( HTuple t1, HTuple t2, out 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]Herror tuple_concat( const Hlong T1, const Hlong T2, Hlong* Concat )

Herror T_tuple_concat( const Htuple T1, const Htuple T2, Htuple* Concat )

HTuple HTuple::TupleConcat( const HTuple& T2 ) const

HTuple HTuple.TupleConcat( HTuple t2 )

Description🔗

tuple_concatTupleConcat concatenates the input tuples T1t1t1 and T2t2t2 to a new tuple Concatconcatconcat. The first elements of Concatconcatconcat conform to the elements of T1t1t1 and the remaining elements of Concatconcatconcat conform to those of T2t2t2.

HDevelop In-line Operation🔗

HDevelop provides an in-line operation for tuple_concatTupleConcat, which can be used in an expression in the following syntax:

Concat := [T1, T2]

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

T1t1t1 (input_control) tuple(-array) → (integer / real / string)HTuple (Hlong / double / HString)HTuple (int / long / double / string)MaybeSequence[Union[float, int, str]]Htuple (Hlong / double / char*)

Input tuple 1.

T2t2t2 (input_control) tuple(-array) → (integer / real / string)HTuple (Hlong / double / HString)HTuple (int / long / double / string)MaybeSequence[Union[float, int, str]]Htuple (Hlong / double / char*)

Input tuple 2.

Concatconcatconcat (output_control) tuple(-array) → (integer / real / string)HTuple (Hlong / double / HString)HTuple (int / long / double / string)Sequence[Union[float, int, str]]Htuple (Hlong / double / char*)

Concatenation of input tuples.

Combinations with other operators🔗

Combinations

Alternatives

tuple_gen_constTupleGenConst, tuple_str_bit_selectTupleStrBitSelect, tuple_selectTupleSelect, tuple_str_first_nTupleStrFirstN, tuple_str_last_nTupleStrLastN, tuple_substrTupleSubstr

See also

tuple_removeTupleRemove

Module🔗

Foundation