tuple_greater ( : : T1, T2 : Greater )

Test, whether a tuple is greater than another tuple.

tuple_greater tests whether the input tuple T1 is greater than T2. A tuple T1 is said to be greater than a tuple T2, if T1 has been found to be greater when comparing it elementwise to T2 or (for the case that the elementwise comparison did not show that T1 is greater than T2) if T1 has got more elements than T2. With the elementwise comparison the single elements of T1 and T2 are compared with each other one after another (i.e., the first element of T1 is compared to the first element of T2 and the second element of T1 is compared to the second element of T2 etc.). If an element of T1 is greater than its counterpart of T2, T1 is said to be greater than T2. As a precondition for comparing the tuples elementwise two corresponding elements must either both be (integer or floating point) numbers or both be strings. Otherwise tuple_greater returns an error.


Parameters

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

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

Greater (output_control)
integer -> integer
Result of the comparison of the input tuples.


Parallelization Information

tuple_greater is reentrant and processed without parallelization.


Alternatives

tuple_greater_equal, tuple_less, tuple_less_equal, tuple_equal, tuple_not_equal


Module

Operators not requiring licensing



Copyright © 1996-2005 MVTec Software GmbH