tuple_max🔗
Short description🔗
tuple_max — Return the maximal element of a tuple.
Signature🔗
tuple_max( tuple Tuple, out tuple Max )
Description🔗
tuple_max returns the maximal element of all elements
of the input tuple Tuple. All elements of Tuple
either have to be strings or numbers (integer or floating point numbers).
It is not allowed to mix strings with numerical values. The result
parameter Max will contain a floating point number, if
at least one element of Tuple is a floating point number.
If all elements of Tuple are integer numbers the resulting
maximum in Max will also be an integer number.
Exception: Empty input tuple🔗
If the input tuple is empty, an exception is raised.
HDevelop In-line Operation🔗
HDevelop provides an in-line operation for tuple_max,
which can be used in an expression in the following syntax:
Max := max(Tuple)
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🔗
Tuple (input_control) tuple(-array) → (integer / real / string)
Input tuple.
Max (output_control) tuple(-array) → (real / integer / string)
Maximal element of the input tuple elements.
Combinations with other operators🔗
Combinations
Alternatives
tuple_min, tuple_mean, tuple_deviation, tuple_sum, tuple_length, tuple_median
See also
Module🔗
Foundation