tuple_min2 — Calculate the elementwise minimum of two tuples.
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.
If either or both of the input tuples are empty, the operator returns an empty tuple.
HDevelop provides an in-line operation for tuple_min2, which can be used in an expression in the following syntax:
Min2 := min2(T1, T2)
Input tuple 1.
Input tuple 2.
Elementwise minimum of the input tuples.
tuple_max2, tuple_min, tuple_max