tuple_min2🔗
Short description🔗
tuple_min2 — Calculate the elementwise minimum of two tuples.
Signature🔗
tuple_min2( tuple T1, tuple T2, out tuple Min2 )
Description🔗
tuple_min2 returns the elementwise minimum of the input
tuples T1 and T2 in the output tuple Min2.
If both tuples have the same length the corresponding elements of both
tuples are compared. Otherwise, either T1 or T2
must have length 1. In this case, the comparison is performed for each
element of the longer tuple with the single element of the other
tuple. If the corresponding elements of the two tuples have the same
type, it is allowed to mix strings with numerical values.
Exception: Empty input tuples🔗
If either or both of the input tuples are empty, the operator returns an empty tuple.
HDevelop In-line Operation🔗
HDevelop provides an in-line operation for tuple_min2,
which can be used in an expression in the following syntax:
Min2 := min2(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🔗
T1 (input_control) tuple(-array) → (real / integer / string)
Input tuple 1.
T2 (input_control) tuple(-array) → (real / integer / string)
Input tuple 2.
Min2 (output_control) tuple(-array) → (real / integer / string)
Elementwise minimum of the input tuples.
Combinations with other operators🔗
Module🔗
Foundation