tuple_not_equaltuple_not_equalTupleNotEqualTupleNotEqualtuple_not_equal (Operator)

Name

tuple_not_equaltuple_not_equalTupleNotEqualTupleNotEqualtuple_not_equal — Test whether two tuples are not equal.

Signature

tuple_not_equal( : : T1, T2 : Nequal)

Herror tuple_not_equal(const Hlong T1, const Hlong T2, Hlong* Nequal)

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

void TupleNotEqual(const HTuple& T1, const HTuple& T2, HTuple* Nequal)

HTuple HTuple::TupleNotEqual(const HTuple& T2) const

static void HOperatorSet.TupleNotEqual(HTuple t1, HTuple t2, out HTuple nequal)

HTuple HTuple.TupleNotEqual(HTuple t2)

def tuple_not_equal(t1: MaybeSequence[Union[int, float, str]], t2: MaybeSequence[Union[int, float, str]]) -> int

Description

tuple_not_equaltuple_not_equalTupleNotEqualTupleNotEqualTupleNotEqualtuple_not_equal tests whether the two input tuples T1T1T1T1t1t1 and T2T2T2T2t2t2 are not equal. Two tuples are not equal, if they consist of a different number of elements or if they differ when compared elementwise. 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.

HDevelop In-line Operation

HDevelop provides an in-line operation for tuple_not_equaltuple_not_equalTupleNotEqualTupleNotEqualTupleNotEqualtuple_not_equal, which can be used in an expression in the following syntax:

Nequal := T1 != T2 or Nequal := T1 # T2

Execution Information

Parameters

T1T1T1T1t1t1 (input_control)  tuple(-array) HTupleMaybeSequence[Union[int, float, str]]HTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)

Input tuple 1.

T2T2T2T2t2t2 (input_control)  tuple(-array) HTupleMaybeSequence[Union[int, float, str]]HTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)

Input tuple 2.

NequalNequalNequalNequalnequalnequal (output_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Result of the comparison of the input tuples.

Alternatives

tuple_equaltuple_equalTupleEqualTupleEqualTupleEqualtuple_equal, tuple_lesstuple_lessTupleLessTupleLessTupleLesstuple_less, tuple_greatertuple_greaterTupleGreaterTupleGreaterTupleGreatertuple_greater, tuple_less_equaltuple_less_equalTupleLessEqualTupleLessEqualTupleLessEqualtuple_less_equal, tuple_greater_equaltuple_greater_equalTupleGreaterEqualTupleGreaterEqualTupleGreaterEqualtuple_greater_equal, tuple_equal_elemtuple_equal_elemTupleEqualElemTupleEqualElemTupleEqualElemtuple_equal_elem, tuple_not_equal_elemtuple_not_equal_elemTupleNotEqualElemTupleNotEqualElemTupleNotEqualElemtuple_not_equal_elem, tuple_less_elemtuple_less_elemTupleLessElemTupleLessElemTupleLessElemtuple_less_elem, tuple_greater_elemtuple_greater_elemTupleGreaterElemTupleGreaterElemTupleGreaterElemtuple_greater_elem, tuple_less_equal_elemtuple_less_equal_elemTupleLessEqualElemTupleLessEqualElemTupleLessEqualElemtuple_less_equal_elem, tuple_greater_equal_elemtuple_greater_equal_elemTupleGreaterEqualElemTupleGreaterEqualElemTupleGreaterEqualElemtuple_greater_equal_elem

Module

Foundation