tuple_nottuple_notTupleNotTupleNottuple_not (Operator)

Name

tuple_nottuple_notTupleNotTupleNottuple_not — Compute the logical not of a tuple.

Signature

tuple_not( : : T : Not)

Herror tuple_not(const Hlong T, Hlong* Not)

Herror T_tuple_not(const Htuple T, Htuple* Not)

void TupleNot(const HTuple& T, HTuple* Not)

HTuple HTuple::TupleNot() const

static void HOperatorSet.TupleNot(HTuple t, out HTuple not)

HTuple HTuple.TupleNot()

def tuple_not(t: MaybeSequence[int]) -> Sequence[int]

def tuple_not_s(t: MaybeSequence[int]) -> int

Description

tuple_nottuple_notTupleNotTupleNotTupleNottuple_not computes the logical not of the input tuple TTTTtt. The input tuple must contain only integer numbers.

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_nottuple_notTupleNotTupleNotTupleNottuple_not, which can be used in an expression in the following syntax:

Not := not T1

Execution Information

Parameters

TTTTtt (input_control)  integer(-array) HTupleMaybeSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Input tuple.

NotNotNotNotnotnot (output_control)  integer(-array) HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Binary not of the input tuple.

Alternatives

tuple_andtuple_andTupleAndTupleAndTupleAndtuple_and, tuple_ortuple_orTupleOrTupleOrTupleOrtuple_or, tuple_xortuple_xorTupleXorTupleXorTupleXortuple_xor

See also

tuple_bandtuple_bandTupleBandTupleBandTupleBandtuple_band, tuple_bortuple_borTupleBorTupleBorTupleBortuple_bor, tuple_bxortuple_bxorTupleBxorTupleBxorTupleBxortuple_bxor, tuple_bnottuple_bnotTupleBnotTupleBnotTupleBnottuple_bnot

Module

Foundation