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_notTupleNotTupleNottuple_not computes the logical not of the input tuple TTTtt. 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_notTupleNotTupleNottuple_not, which can be used in an expression in the following syntax:

Not := not T1

Execution Information

Parameters

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

Input tuple.

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

Binary not of the input tuple.

Alternatives

tuple_andtuple_andTupleAndTupleAndtuple_and, tuple_ortuple_orTupleOrTupleOrtuple_or, tuple_xortuple_xorTupleXorTupleXortuple_xor

See also

tuple_bandtuple_bandTupleBandTupleBandtuple_band, tuple_bortuple_borTupleBorTupleBortuple_bor, tuple_bxortuple_bxorTupleBxorTupleBxortuple_bxor, tuple_bnottuple_bnotTupleBnotTupleBnottuple_bnot

Module

Foundation