Operator Reference
tuple_min2 (Operator)
tuple_min2
— Calculate the elementwise minimum of two tuples.
Signature
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
- Multithreading type: independent (runs in parallel even with 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.
See also
tuple_max2
,
tuple_min
,
tuple_max
Module
Foundation