Skip to content

tuple_not_equal_elemTupleNotEqualElemTupleNotEqualElemtuple_not_equal_elemtuple_not_equal_elem🔗

Short description🔗

tuple_not_equal_elemTupleNotEqualElemTupleNotEqualElemtuple_not_equal_elemtuple_not_equal_elem — Test, whether two tuples are elementwise not equal.

Signature🔗

tuple_not_equal_elem( tuple T1, tuple T2, out integer Nequal )void TupleNotEqualElem( const HTuple& T1, const HTuple& T2, HTuple* Nequal )static void HOperatorSet.TupleNotEqualElem( HTuple t1, HTuple t2, out HTuple nequal )def tuple_not_equal_elem( t1: MaybeSequence[Union[int, float, str]], t2: MaybeSequence[Union[int, float, str]] ) -> Sequence[int]

def tuple_not_equal_elem_s( t1: MaybeSequence[Union[int, float, str]], t2: MaybeSequence[Union[int, float, str]] ) -> intHerror tuple_not_equal_elem( const Hlong T1, const Hlong T2, Hlong* Nequal )

Herror T_tuple_not_equal_elem( const Htuple T1, const Htuple T2, Htuple* Nequal )

HTuple HTuple::TupleNotEqualElem( const HTuple& T2 ) const

HTuple HTuple.TupleNotEqualElem( HTuple t2 )

Description🔗

tuple_not_equal_elemTupleNotEqualElem tests whether the two input tuples T1t1t1 and T2t2t2 are elementwise not equal. If both tuples have the same length, the corresponding elements of both tuples are compared. Otherwise, either T1t1t1 or T2t2t2 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. Two tuple elements differ if they are of types that may not be compared (e.g., one string and one integer) or if they differ in their 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_not_equal_elemTupleNotEqualElem, which can be used in an expression in the following syntax:

Nequal := T1 [!=] T2

or

Nequal := T1 [#] T2

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🔗

T1t1t1 (input_control) tuple(-array) → (integer / real / string)HTuple (Hlong / double / HString)HTuple (int / long / double / string)MaybeSequence[Union[int, float, str]]Htuple (Hlong / double / char*)

Input tuple 1.

T2t2t2 (input_control) tuple(-array) → (integer / real / string)HTuple (Hlong / double / HString)HTuple (int / long / double / string)MaybeSequence[Union[int, float, str]]Htuple (Hlong / double / char*)

Input tuple 2.

Nequalnequalnequal (output_control) integer(-array) → (integer)HTuple (Hlong)HTuple (int / long)Sequence[int]Htuple (Hlong)

Result of the comparison of the input tuples.

Combinations with other operators🔗

Combinations

Alternatives

tuple_equal_elemTupleEqualElem, tuple_less_elemTupleLessElem, tuple_greater_elemTupleGreaterElem, tuple_less_equal_elemTupleLessEqualElem, tuple_greater_equal_elemTupleGreaterEqualElem, tuple_equalTupleEqual, tuple_not_equalTupleNotEqual, tuple_lessTupleLess, tuple_greaterTupleGreater, tuple_less_equalTupleLessEqual, tuple_greater_equalTupleGreaterEqual

Module🔗

Foundation