tuple_nottuple_notTupleNotTupleNottuple_not (算子)
名称
tuple_nottuple_notTupleNotTupleNottuple_not — 计算元组的逻辑非。
签名
Herror tuple_not(const Hlong T, Hlong* Not)
Herror T_tuple_not(const Htuple T, Htuple* Not)
def tuple_not(t: MaybeSequence[int]) -> Sequence[int]
def tuple_not_s(t: MaybeSequence[int]) -> int
描述
tuple_nottuple_notTupleNotTupleNotTupleNottuple_not computes the logical not of the input tuple
TTTTtt. The input tuple must contain only integer numbers.
例外:空输入元组
If the input tuple is empty, an exception is raised.
HDevelop 内联操作
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
执行信息
- 多线程类型:独立(即使使用独占算子也能并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
TTTTtt (输入控制) integer(-array) → HTupleMaybeSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Input tuple.
NotNotNotNotnotnot (输出控制) integer(-array) → HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Binary not of the input tuple.
替代
tuple_andtuple_andTupleAndTupleAndTupleAndtuple_and,
tuple_ortuple_orTupleOrTupleOrTupleOrtuple_or,
tuple_xortuple_xorTupleXorTupleXorTupleXortuple_xor
另见
tuple_bandtuple_bandTupleBandTupleBandTupleBandtuple_band,
tuple_bortuple_borTupleBorTupleBorTupleBortuple_bor,
tuple_bxortuple_bxorTupleBxorTupleBxorTupleBxortuple_bxor,
tuple_bnottuple_bnotTupleBnotTupleBnotTupleBnottuple_bnot
模块
基础