tuple_greater_equal_elemtuple_greater_equal_elemTupleGreaterEqualElemTupleGreaterEqualElem (Operator)
Name
tuple_greater_equal_elemtuple_greater_equal_elemTupleGreaterEqualElemTupleGreaterEqualElem
— Test, whether a tuple is elementwise greater or equal to another tuple.
Signature
Herror tuple_greater_equal_elem(const Hlong T1, const Hlong T2, Hlong* Greatereq)
Herror T_tuple_greater_equal_elem(const Htuple T1, const Htuple T2, Htuple* Greatereq)
void TupleGreaterEqualElem(const HTuple& T1, const HTuple& T2, HTuple* Greatereq)
HTuple HTuple::TupleGreaterEqualElem(const HTuple& T2) const
Description
tuple_greater_equal_elemtuple_greater_equal_elemTupleGreaterEqualElemTupleGreaterEqualElemTupleGreaterEqualElem
tests elementwise whether the input tuple
T1T1T1T1t1
is greater than or equal to T2T2T2T2t2
.
If both tuples have the same length, the corresponding
elements of both tuples are compared. Otherwise, either T1T1T1T1t1
or T2T2T2T2t2
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. 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_equal_elemtuple_greater_equal_elemTupleGreaterEqualElemTupleGreaterEqualElemTupleGreaterEqualElem
returns an error.
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_greater_equal_elemtuple_greater_equal_elemTupleGreaterEqualElemTupleGreaterEqualElemTupleGreaterEqualElem
,
which can be used in an expression in the following syntax:
Greatereq := 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
T1T1T1T1t1
(input_control) tuple(-array) →
HTupleHTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)
Input tuple 1.
T2T2T2T2t2
(input_control) tuple(-array) →
HTupleHTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)
Input tuple 2.
GreatereqGreatereqGreatereqGreatereqgreatereq
(output_control) integer(-array) →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Result of the comparison of the input tuples.
Alternatives
tuple_equal_elemtuple_equal_elemTupleEqualElemTupleEqualElemTupleEqualElem
,
tuple_not_equal_elemtuple_not_equal_elemTupleNotEqualElemTupleNotEqualElemTupleNotEqualElem
,
tuple_less_elemtuple_less_elemTupleLessElemTupleLessElemTupleLessElem
,
tuple_greater_elemtuple_greater_elemTupleGreaterElemTupleGreaterElemTupleGreaterElem
,
tuple_less_equal_elemtuple_less_equal_elemTupleLessEqualElemTupleLessEqualElemTupleLessEqualElem
,
tuple_equaltuple_equalTupleEqualTupleEqualTupleEqual
,
tuple_not_equaltuple_not_equalTupleNotEqualTupleNotEqualTupleNotEqual
,
tuple_lesstuple_lessTupleLessTupleLessTupleLess
,
tuple_greatertuple_greaterTupleGreaterTupleGreaterTupleGreater
,
tuple_less_equaltuple_less_equalTupleLessEqualTupleLessEqualTupleLessEqual
,
tuple_greater_equaltuple_greater_equalTupleGreaterEqualTupleGreaterEqualTupleGreaterEqual
Module
Foundation