算子列表 tuple_sort_index(算子名称) 名称 tuple_sort_index— Sort the elements of a tuple and return the indices of the sorted tuple. 参数签名 tuple_sort_index( : :Tuple:Indices) 描述 tuple_sort_indexsorts all elements ofTuplein ascending order and returns the indices of the elements of th...
qq1151219115 1.tuple_sort_index - 对元组的元素进行排序并返回已排序元组的索引。 示例 Tuple1 := [1, 5, 8, 7, 6] tuple_sort_index (Tuple1, Indices) 结果: Indices的值为[0, 1, 4, 3, 2] 2.tuple_max - 返回最大元素 示例 Tuple1 := [1, 5, 8, 7, 6] tuple_max (Tuple1, Max...
tuple_concat 功能:合並兩個元組為一個新的。2. tuple_gen_const 功能:創建一個特殊長度的元組和初始化它的元素。3. tuple_rand 功能:返回任意值為0或1的元組。 18.6_Element-Order1. tuple_inverse 功能:將一個元組反置(反轉)。2. tuple_sort 功能:按照升序分類(排列)元組的元素。3. tuple_sort_index ...
3. tuple_sort_index 功能:將元組的元素分類並返回分類元組的目錄。 18.7 Features 1. tuple_deviation 功能:返回一個元組元素的標准差。 2. tuple_length 功能:返回一個元組元素數目。 3. tuple_max 功能:返回一個元組的最大元素。 4. tuple_mean 功能:返回一定數量元組的平均值。 5. tuple_median 功能:...