tuple_concattuple_concatTupleConcatTupleConcattuple_concat (算子)

名称

tuple_concattuple_concatTupleConcatTupleConcattuple_concat — 将两个元组连接成一个新的元组。

签名

tuple_concat( : : T1, T2 : Concat)

Herror tuple_concat(const Hlong T1, const Hlong T2, Hlong* Concat)

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

void TupleConcat(const HTuple& T1, const HTuple& T2, HTuple* Concat)

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

static void HOperatorSet.TupleConcat(HTuple t1, HTuple t2, out HTuple concat)

HTuple HTuple.TupleConcat(HTuple t2)

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]

描述

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 内联操作

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]

执行信息

参数

T1T1T1T1t1t1 (输入控制)  tuple(-array) HTupleMaybeSequence[Union[float, int, str]]HTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)

输入元组 1。

T2T2T2T2t2t2 (输入控制)  tuple(-array) HTupleMaybeSequence[Union[float, int, str]]HTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)

输入元组 2。

ConcatConcatConcatConcatconcatconcat (输出控制)  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.

替代

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

另见

tuple_removetuple_removeTupleRemoveTupleRemoveTupleRemovetuple_remove

模块

基础