tuple_min2 ( : : T1, T2 : 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.


Parameters

T1 (input_control)
number(-array) -> real / integer / string
Input tuple 1.

T2 (input_control)
number(-array) -> real / integer / string
Input tuple 2.

Min2 (output_control)
number(-array) -> real / integer / string
Elementwise minimum of the input tuples.


Parallelization Information

tuple_min2 is reentrant and processed without parallelization.


See also

tuple_max2, tuple_min, tuple_max


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH